let list = ["item_0", "item_1", "item_2", "item_3"]
In the first two methods, I will be removing the second element, which is "baz" from the array. The end result will be ["item_0", "item_2", "item_3"]
// 1st value passed: the start element // 2nd value passed: how many elements to be removed.
var final = list.splice(1,1)
var final = list.splice(list.indexOf("item_1"),1)
delete list[1];
list.length = 3
list.pop()
list.shift()