News for hackers. Stuff that matters.
Re:Are You a JavaScript Guru? Try This Test by lubujackson on Saturday February 02, 2013 @02:14PM (#5156945)
God, I hate this crap. Edge cases != useful knowledge
Re:Are You a JavaScript Guru? Try This Test by CognitiveLens on Saturday February 02, 2013 @02:24PM (#5156989)
Agreed. It seems like the lesson is "don't write ambiguous JS, because it will bite you" - I'm not sure you have to know the nature of every bite in order to be a JS expert, because a JS expert should generally be writing very predictable code!
Re:Are You a JavaScript Guru? Try This Test by berntb on Saturday February 02, 2013 @03:00PM (#5157108)
Many years ago, I had a bookmark in my Harbinson-Steele's C book, for the precedence of operators.

After a while, I decided that was stupid and removed the bookmark -- if I ever needed to look at operator precedence, then I should use parentheses.

That said, to understand the edge cases are valuable, because you should recognize when you get close to them (not only in your own code).

Re:Are You a JavaScript Guru? Try This Test by jacobr on Saturday February 02, 2013 @02:43PM (#5157048)
Edge cases !== useful knowledge

FTFY

Re:Are You a JavaScript Guru? Try This Test by yen223 on Sunday February 03, 2013 @08:48AM (#5159645)
The second question

  (0.1 + 0.2) + 0.3 == 0.1 + (0.2 + 0.3)
is not an edge case, unfortunately.