18
3
Obviously this challenge would be trivial with separate functions and libraries, so they aren't allowed.
Your code must conform to an ECMAscript specification (any spec will do), so no browser-specific answers.
The array must be accessible after it is instantiated.
I have an answer that I'll withhold for now.
Note: this challenge is specific to javascript because it is notoriously inconvenient to make multi-dimensional arrays in javascript.
I'm at 57 characters. Is this a good score? – John Dvorak – 2013-01-24T23:12:36.470
Ok, definitely not :-) – John Dvorak – 2013-01-25T10:26:52.820
15Are you sure you don't just want this nice 1x1 array of 10s?
[10]
– kojiro – 2013-01-28T04:42:48.4378Would that be
[[10]]
? – yingted – 2013-03-12T21:50:11.037