Fixed Size Array Javascript Iteration Method That Returns