How to delete item from array in JavaScript

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

apps.splice(2, 1);

console.log(apps);
["phone", "calculator", "clock"]