c/programmerhumor · by relevants@feddit.de · 3yJavaScript Pro Tip! 59 points · 13 comments · view on lemmy.world
13 Comments
LovelyCupcake@feddit.de · 16 pts · 3y
It works the other way around as well
lemme@sh.itjust.works · 3 pts · 3y
Take my angry upvote!
Rega@lemmy.ml · 11 pts · 3y
I had to check if that's actually true. And yep, this is real.
pathief@lemmy.world · 1 pts · 3y
It's clearly is integer.
Synthuir@lemmy.ml · 3 pts · 3y
My favorite data type, ‘number’
HoornseBakfiets@feddit.nl · 3 pts · 3y
zekiz@lemmy.ml · 4 pts · 3y
NaN is actually a number in JavaScript
darcy@sh.itjust.works · 1 pts · 2y
tbf its the floating point standards fault
catacomb@beehaw.org · 3 pts · 3y
I'm going to be honest, this probably makes sense more than any other JavaScript operator quirk I've seen.
azalty@jlai.lu · 3 pts · 3y
Ahhh… javascript…
drownedPhoenician@feddit.de · 1 pts · 3y
I never learned JavaScript and I can very happily say, I won't need it for my career. Hopefully.
MauricioMacri@lemmy.ml · 1 pts · 3y
No one escapes JavaScript. Your time will come
nodiet@feddit.de · 0 pts · 3y
As someone who only had very peripheral contact with JavaScript I can't tell if this is real and that is really the beauty (/s) of this language