JSREF

JavaScript Object.keys()

Use Object.keys() on an array: