The script in this document (view source) demonstrates the push() and pop() methods and Array construction.