daily pastebin goal
8%
SHARE
TWEET

Untitled

a guest Mar 19th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function flipMatrix(matrix) {
  2.     return matrix[0].map(function(column, index) {
  3.         return matrix.map(function(row) {
  4.             return row[index];
  5.         });
  6.     });
  7. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top