Array Related Coding Question In Javascript 1754