Another public service announcement: In JavaScript, "a + b - b" is not the same as "a + (b-b)". And not just because of IEEE-784 floats.
-
-
Replying to @really_bz
@bz_moz because of string => number conversion, you mean?1 reply 0 retweets 0 likes -
Replying to @FremyCompany
@FremyCompany@bz_moz Almost. If a is a string and b is a number, the result is NaN.2 replies 0 retweets 0 likes
Replying to @tabatkins
@tabatkins @FremyCompany Yes, but also lots of other weirdness if a is various objects.
2:04 PM - 18 Jan 2013
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.