micro optimization, moved Array Prototype lookup outside of function