Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

The “pop()” method is used when you want to remove the last element of an array.

var lang = ["PHP", "Python", "Java", "C"];
lang.pop();
Source by morioh.com #
 
PREVIOUS NEXT
Tagged: #The #method #remove #element
ADD COMMENT
Topic
Name
2+8 =