Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js forEach method

const numbers = [28, 77, 45, 99, 27];
 
numbers.forEach(number => {  
  console.log(number);
});
Source by www.codecademy.com #
 
PREVIOUS NEXT
Tagged: #js #forEach #method
ADD COMMENT
Topic
Name
4+6 =