Created
December 23, 2016 16:40
-
-
Save vitkon/df7d649d41c86a24885d1aa596811e9e 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
const rotateMatrix = arr => arr[0].map((col, i) => arr.map(row => row[i])); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment