// example (remove middle element(s) in the array) let yourArray = ["aaa", "bbb", "ccc", "ddd"]; yourArray.splice(2,1); // yourArray = ["aaa", "bbb", "ddd"] // syntax: // <array-name>.splice(<start-index>,<number-of-elements-to-remove>);