Array
.Pop
Manual
Reference
Scripting
Scripting
>
Runtime Classes
>
Array
Array
.Pop
Menu
Overview
Runtime Classes
Attributes
Enumerations
Editor Classes
Enumerations
History
Index
Array
All Members
Variables
length
Constructors
Array
Functions
Add
Clear
Concat
Join
Pop
Push
RemoveAt
Reverse
Shift
Sort
Unshift
function
Pop () : object
Description
Removes the last element of the array and returns it
var
arr =
new
Array (
"Hello"
,
"World"
);
arr.Pop();
// Prints only "Hello"
print (arr);