Contact: aviboots(AT)netvision.net.il
39,959 questions
51,901 answers
573 users
const arr = ['node.js', 'php', 'python', 'c', 'c++', 'c#']; const index = arr.indexOf('python'); if (index !== -1) { arr.splice(index, 1); } console.log(arr); /* run: [ 'node.js', 'php', 'c', 'c++', 'c#' ] */