re: Learning the Granular Details of a Programming Language? VIEW POST

FULL DISCUSSION
 

I'd argue that it's important to be aware of them. Or learn these details as you encounter them (and don't forget them). I remember I had a chart at work that wasn't displaying correctly. Turns out there was a divide by 0 returning Infinity. Easy fix, right? Until you find out that it's still broken because -0 results in -Infinity. One of those "oh right!" moments that you don't forget.

 

Haha, love the example of a problem you've faced with one of these rarely encountered parts of the JS language.

code of conduct - report abuse