Hi,

 

I think to create "Object.hasOwnProperty". Often, an object is used to store
key/value pairs and most users forget that "hasOwnProperty" can be also be a
key. Objects created by "Object.create(null)" don't inherit this function
and users get lost when they get such an object from a library or their own
code.

 

Claude Petit

 

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to