[ad_1]
You can use this method **Array.prototype.shift()**
It removes the first element from an array and returns that element.
[ad_2]
solved How to remove the first element from an array? [closed]
[ad_1]
You can use this method **Array.prototype.shift()**
It removes the first element from an array and returns that element.
[ad_2]
solved How to remove the first element from an array? [closed]