Skip to content

Instantly share code, notes, and snippets.

@syphh
Created December 22, 2019 21:44
Show Gist options
  • Save syphh/37b3546f3f6012852d7e3526eca25967 to your computer and use it in GitHub Desktop.
Save syphh/37b3546f3f6012852d7e3526eca25967 to your computer and use it in GitHub Desktop.
100*100 random matrix
let randomMat = [...new Array(100)].map(row => [...new Array(100)].map(cell => Math.floor(Math.random() * 10)));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment