Like so.
Note to future generations coming to javascript: the for-in loop, when applied to an array, loops over the indices in the array, not its contents. Consistent, but kind of unexpected.