Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 335 Bytes

File metadata and controls

17 lines (12 loc) · 335 Bytes

baseArrayClass.push()

Adds one element to the end of the array and returns the new length of the array.

var baseArray = new plugin.google.maps.BaseArrayClass();

var i;
for(i = 0; i < 10; i++) {
  baseArray.push(i);
}

var value = baseArray.pop();
console.log(value);  //value = 9