chop() - Used to truncate the last character of a all strings that are part of an array. This method is not defined so it must be written and included in your code.
var exclamations = new Array("Look out!", "Duck!" )
exclamations.chop()
Causes the values of exclamations to become: