Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

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()