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
-
inaba46316y"1" + 3 == 13 isn't exclusive to js though. Its expected d in pretty much all languages
-
@confusedGuy-sh C doesnt do it due to how it's made in terms of low-level. Python is typesafe. Java, Kotlin, and lots more however aren't as safe and happily make "1"+3 equal to "13"
-
mindev5456yI really don't get all of those jokes. It's not magic, just some logical thinking. Instead of whining about how weird JS is, just read the docs, they explain a lot. And like @Proximyst said, it's not a unique behaviour
-
@DawidCyron It's just a joke dude, no one's whining here or hating on JS . I too use JS regularly
Related Rants
When you spend too much time doing JS...
joke/meme
number
string
js