Object.keys

Description

~Object.keys~ returns the [JavaScript Objects](JavaScript Objects) property names as an array of strings

Syntax

console.log(Object.keys({x: 0, y: 0, z: 2}));