How to remove the first value of an array code example
Example: removing first item array js
var list = ["bar", "baz", "foo", "qux"];
list.shift()//["baz", "foo", "qux"]
var list = ["bar", "baz", "foo", "qux"];
list.shift()//["baz", "foo", "qux"]