How to delete item from array in JavaScript

Arrays
By Jad Joubran · 
Last updated Dec 23, 2017
const apps = ["phone", "calculator", "codetogo", "clock"];

apps.splice(2, 1);

console.log(apps);
["phone", "calculator", "clock"]
Array.splice on MDN