Object.getOwnPropertyNames() Object.getOwnPropertyNames () returns the names of an object's properties as an array. 27 January 2019 1