Suggestion: "Object.hasOwnProperty"

doodad-js Admin doodadjs at
Thu May 26 19:26:52 UTC 2016



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


Claude Petit


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list