Unterhaltung
Nachrichten
-
(1 + "2") / 6 → 2; (1 + 2) / 6 → 0.5 — YIKES! #javascript
Thursday, 08-Jan-15 08:43:57 UTC von web-
@drak Concatenation FTW ;-)
-
Array(16).join("lol" - 2) + " Batman!";
drak gefällt das. -
@drak I hate weak typing!
-
What I don’t like is the automatic conversion. That just calls for mistakes. (there are different definitions of weak typing)
-
@drak is there any form of weak typing that does not have some form of those conversion problems?
-
the wikipedia page lists quite a few systems which have been called weakly typed. Not all seem to convert.
-