Convert an Object to an Array in JavaScript · const propertyNames = Object.keys(person); console.log(propertyNames); · [ 'firstName', 'lastName' ] · const ...
確定! 回上一頁