Convert an Object to an Array in JavaScript ; person = { firstName: 'John', lastName: 'Doe' }; ; propertyNames = · keys(person); · log(propertyNames);.
確定! 回上一頁