News for hackers. Stuff that matters.
Re:A re-introduction to JavaScript by tracker1 on Saturday May 09, 2015 @10:44PM (#9518583)
If you use a double NOT ~~"foo" you will always get a finite int32 value... which is useful when you can use 0 as a "default" representation. For that matter, all bitwise operations will coerce a value to an int32 representation. Which is something to be aware of, if you want larger integer values (< 2^53 - 1 and > -2^53 + 1).

There are no comments on this comment yet.