JavaScript pop Method: Removing From an Array End

If this post helps you, click an ad

The JavaScript pop method can be used to remove elements from a JavaScript array.

//Removes 4 from the array
var aryTest = [1,2,3,4];
aryTest.pop();

Leave a Reply