Hacker News new | past | comments | ask | show | jobs | submit login

> Have I learned anything directly useful?

You probably haven't. But a less experienced programmer has learned why you should always use ===.




The example at the end of the article shows how you can have the same problem while always using ===.


The example at the end of the article shows how you deserve all sorts of bad things happening to you if you mutate values in a freaking getter.


I think it's a great example of why overriding the default prototype functions is a bad idea.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: