So I have created a multi-dimensional array: (i.e. one with two sets of 'coordinates')
var items = [[1,2],[3,4],[5,6]];
My site is in development and the array, when it is loaded, and what it contains is constantly changing, so I need to be able to, whilst running the script, dynamically view the contents of the array.
So, I use this:
console.log(items);
to output it to the console. This gives me the following output:
So, is there any other way in which I can do the equivalent of console.logging
my array, but with more readable output?