Answers for "foreach in javascript skip first"

0

foreach in javascript skip first

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

arr.slice(1).forEach(function(value) {
    console.log(value);
});
Posted by: Guest on April-07-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language