Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js map

const postIds = posts.map((post) => post.id);
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #js #map
ADD COMMENT
Topic
Name
9+3 =