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

leobalter (Leo Balter)

Menjadi anggota sejak
leobalter

Aktiviti Dokumen Terkini

Papar semua aktiviti
Halaman Tarikh Komen

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