Created
September 10, 2016 21:22
-
-
Save ecklf/a9333bcbd46c4877e22ce22931f40bcf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create2DArray(rows, columns) { | |
var x = new Array(rows); | |
for (var i = 0; i < rows; i++) { | |
x[i] = new Array(columns); | |
} | |
return x; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment