Where scripts is our array object.
Here is the complete code for example of shift() function.
The first element HTML will be removed from the array. Here is the output
Be the first to post comment on this article :