Timeline for Javascript: Create a 10x10 array of 1s
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 12, 2013 at 21:58 | comment | added | yingted | a=eval("["+Array(11).join("[1,1,1,1,1,1,1,1,1,1],")+"]") has 56 | |
| Jan 27, 2013 at 22:39 | comment | added | mowwwalker | Wow! I wrote eval('a=['+(b=Array(11)).join('['+b.join("1,")+'],')+']'). Apart from having different quotes and my having the variable inside eval, these are exactly the same | |
| Jan 25, 2013 at 0:05 | review | First posts | |||
| Jan 25, 2013 at 14:16 | |||||
| Jan 24, 2013 at 23:46 | history | answered | John Dvorak | CC BY-SA 3.0 |