Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

leobalter (Leo Balter)

Member since
leobalter

Recent Docs Activity

View all activity
Page Date Comment

Enumerability and ownership of properties


String.prototype.normalize()


Revert to revision of 2015-07-13 09:32:59 by fscholz

String.prototype.normalize()


If the form argument is undefined, normalize will throw a RangeError, as undefined will be converted to "undefined" and it's not a valid form.

handler.has()


Object.prototype.hasOwnPrototype doesn't trigger the Proxy `has` trap. On the spec, `hasOwnProperty` abstract method trigger different checks than `hasProperty`, in no moment they share the same checks.

handler.has()