Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Type on the console:

 a = [[1,1],[1,1]]

And you will see:

[Array[2],Array[2]]

That is as uninformative as it gets, and in order to understand your structure you have to click click click click (and don't expect a good formatting). I have to JSON.stringify every data before console.loging. Why is it so uninformative, and can I config it for more usefulness?

share|improve this question
    
Not a Javascript guru so this isn't an answer, but it looks like it's displaying the type of the object you just created. What would you expect it to print? –  user55325 Jan 10 at 3:45
    
I'm complaining it overshadows the actual data. I expected just [[1,1],[1,1]]. –  Dokkat Jan 10 at 4:35
    
-1 this isn't really a very good question. How are we meant to know? Unless someone from Google has the knowledge, permission and desire to tell us... –  Mark Henderson Jan 10 at 5:21

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.