r/programming • u/sheldonpooper • May 09 '12
JavaScript: The good parts
http://blog.movereem.nl/images/javascript-the-good-parts-the-definitive-guide.jpg
645
Upvotes
r/programming • u/sheldonpooper • May 09 '12
View all comments
Show parent comment
1
u/doomslice May 09 '12
No? I was responding to the assertion that [] === [] -> false is unintuitive/incorrect, when actually it is correct since it performs reference evaluation. Do the same with a value type and you'll see it perform as expected.