JavaScript Programming/Arrays/Example Code