Skip to navigation

Question:
Get the index of a javascript object:

Worse is better.