jQuery logo

Useful snippet for debugging javascript. It prints out key-value pairs of associative array. In PHP your have function print_r($array), but in Javascript you still have to make your own function.

 

You can fill associative array, for example, this way: