I want to create a two dimensional array in Javascript where I\'m going to store coordinates (x,y). I don\'t know yet how many pairs of coordinates I will have because they
You can nest one array within another using the shorthand syntax:
var twoDee = [[]];