raganwald-deprecated / homoiconic

An experiment in publishing code and words about code on a small scale.
http://github.com/raganwald/homoiconic/tree/master/homoiconic.markdown
Other
1.82k stars 112 forks source link

Use "hasOwnProperty" to check if obj has property #19

Closed jewel-andraia closed 12 years ago

jewel-andraia commented 12 years ago
  1. a[b] might pull up a b from the prototype chain if third-party code has added anything to Object.prototype
  2. the memozied function might legitimately return null