Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

foreach in javascript skip first

let arr = [1, 2, 3, 4, 5];

arr.slice(1).forEach(function(value) {
    console.log(value);
});
 
PREVIOUS NEXT
Tagged: #foreach #javascript #skip
ADD COMMENT
Topic
Name
7+3 =