pop() - Pops the last string off the array and returns it. This method is not defined so it must be written and included in your code.
Code:
words = new Array("limit","lines","finish","complete","In","Out")
var lastword = words.pop() The value of the string lastword is:
Out