Array.Pop

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);