Contact: aviboots(AT)netvision.net.il
36,641 questions
47,918 answers
573 users
let arr = ["Node.js", "PHP", "C", "Python"]; delete arr[0]; // Change the element to undefined console.log(arr); /* run: [ <1 empty item>, 'PHP', 'C', 'Python' ] */
let arr = ["Node.js", "PHP", "C", "Python"]; arr.splice(0, 1) console.log(arr); /* run: [ 'PHP', 'C', 'Python' ] */