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 | |
---|---|---|---|---|---|
Jan 28, 2013 at 8:59 | history | edited | codeporn | CC BY-SA 3.0 |
Golfed code
|
Jan 25, 2013 at 18:06 | comment | added | John Dvorak |
Change i-->0 to i-- . While the "downto" operator is nice, it's not really neccessary. ==0 could be shaved off by two bits as well. Also, leave out var . While normally useful, four useless bytes are just unacceptable here.
|
|
Jan 25, 2013 at 15:07 | history | edited | codeporn | CC BY-SA 3.0 |
formatting
|
Jan 25, 2013 at 15:02 | history | answered | codeporn | CC BY-SA 3.0 |