Fixed Size Array Javascript Iteration Methods