Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Convert an object to an array

const entries = Object.entries(person);

console.log(entries);
Code language: JavaScript (javascript)
Source by www.javascripttutorial.net #
 
PREVIOUS NEXT
Tagged: #Convert #object #array
ADD COMMENT
Topic
Name
7+2 =