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
-
AllenII16187yThe problem is that + becomes a concatenation operator in the pressence of a string, but minus keeps its mathematical purpose. Couple that with type coercion and you got yourself a foot gun (or a shin smasher in this case). It's easy to avoid once you know to look out for it.
-
rjedlin4517y@JonnyCodewalker The joke is that the rider is inflicting the pain upon himself, but blaming $COMMONLY_TALKED_DOWN_CONCEPT
-
Dacexi119967yThe thing is this makes total sense tbh. You can add to a string but you can't subtract from one. Therefore - is expected to be used on a number and + can be used on anything. Since a string was supplied it assumes that you want to use it as a string.
-
oladgell06yJava script stands out from all the available sources for the users of the computer. The enhancement of the goals and java scripts has been uploaded on https://telstraeduaustralia.com/bes... for the future times. The appliances have ban ensured for the employment of the men for the java script. The coding is done for the new transformation of the languages for the computer specialists.
Related Rants
-
tahnik63So I need to create a nice new web app. Let's look at some cool JS frameworks that I can work with. *5 mins l...
-
ahmedam23What only relying on JavaScript for HTML form input validation looks like
-
tommy15Right now someone at Google is coding something useless for us to laugh at on April Fools.
Damn JavaScript
joke/meme
jokes
fun
js