Javascript Modify Array While Iterating Example Of Metaphor Using Trees