How to create arrays in javaScripts?