javascript remove 1st elemelnt of array code example
Example 1: remove first element of array javascript
const arr = ['foo', 'bar', 'qux', 'buz'];
arr.shift(); // 'foo'
arr; // ['bar', 'qux', 'buz']
Example 2: javascript remove first item from array
type answer