Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

node js get list of all names of object array

var nameArray = students.map(function (el) { return el.name; });
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #node #js #list #names #object #array
ADD COMMENT
Topic
Name
2+1 =