173
JavaScript (lemmy.ml)
you are viewing a single comment's thread
view the rest of the comments
[-] sgh@lemmy.ml 8 points 1 month ago

The space makes that two different tokens, in reality what happens is 'a' + (+'a') that resolves to 'a' + 'NaN'.

[-] propter_hog@hexbear.net 3 points 1 month ago

Yep, I believe you're right

this post was submitted on 04 Jun 2025
173 points (98.3% liked)

Programmer Humor

37457 readers
15 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS