3rdAssingment

This works but you have to iterate through the entire word array. You would probably be better off just setting word to empty array again. `word = [];`