Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

array map arrow function

materials.map((str) => {
  const {length} = str;
  return length;
});
 
PREVIOUS NEXT
Tagged: #array #map #arrow #function
ADD COMMENT
Topic
Name
3+1 =