Created
April 22, 2014 23:07
-
-
Save beratdogan/11197477 to your computer and use it in GitHub Desktop.
Fill arrays in JavaScript.
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
Array.apply(null, new Array(3)).map(Array.prototype.valueOf, (Array.apply(null, new Array(3)).map(Number.prototype.valueOf, 0))); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment