Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Gogy2276yWoohoo! Reading "You Don't Know JS" books series finally paid off. :D I got it correct :)
-
cannonau1966y@svgPhoenix well, if precedence was different it might have been "1false"
Ok, actually it was to call attention to this "10.234" thing. -
@svgPhoenix Avoiding language because it has weird quirks on edge cases, yeah truly legit.
-
@svgPhoenix I hope you don't :P
I develop in Javascript on daily basis and i have never seen such edge cases in real-life projects or big packages.
Undefined is what we are afraid of / take advantage of. To avoid such weird stuff, we just optimize stuff better.
JavaScript expression quiz time! What is the value of this expression: ('1' + .234 > 2)
rant
javascript
expressions
type coercion