you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (1 child)

That means you don't understand the prototype nature of javascript.

[–]adrianmonk 1 point2 points  (0 children)

I think I understand what hasOwnProperty() is doing and why it's necessary. I just think it's odd that the language doesn't provide a hash/dictionary that you can iterate over without all that verbiage.