Understanding Function Length in JavaScript
Some JavaScript libraries support a feature that I find really interesting. A callback passed to the library can use its formal parameters (or rather their count) to reveal more about its behaviour to the caller.