Wednesday, March 3, 2010

Little known things about javascript

Here are some pretty obscure techniques you can use in Javascript.

Here's some more hacking with the tilde (bitwise not) operator. The indexOf() trick is pretty terse (but it might be a bit too cryptic for some people).

No comments:

Post a Comment