What is the correct way to write a JavaScript array?