Contact: aviboots(AT)netvision.net.il
39,853 questions
51,774 answers
573 users
const arr = ['node.js', 'php', 'python', 'c', 'c#', 'c++', 'go', 'css', 'java', 'python']; const index = -3; const N = 2 arr.splice(index, N); console.log(arr); /* run: [ 'node.js', 'php', 'python', 'c', 'c#', 'c++', 'go', 'python' ] */