Skip to main content
deleted 1 character in body
Source Link
AZTECCO
  • 10.9k
  • 1
  • 15
  • 58

JavaScript (Node.js), 62 bytes

//m0()m  ]
//=](=a  )
//>.a>p( )
//mm,m/aa
//[ap./=[
   p  =>p

Try it online!

Improved with a different layout

///// 
///// 
m=>m[ 
0].map 
((a,p 
 )=>m. 
map//= 
  (a=> 
   a[p 
])) 

JavaScript (Node.js), 62 bytes

//m0()m  ]
//=](=a  )
//>.a>p( )
//mm,m/aa
//[ap./=[
   p  =>p

Try it online!

Improved with a different layout

///// 
///// 
m=>m[ 
0].map 
((a,p 
 )=>m. 
map//= 
  (a=> 
   a[p 
])) 

JavaScript (Node.js), 62 bytes

//m0()m  ]
//=](=a  )
//>.a>p( )
//mm,m/aa
//[ap./=[
   p  =>p

Try it online!

Improved with a different layout

///// 
///// 
m=>m[ 
0].map 
((a,p 
)=>m. 
map//= 
  (a=> 
   a[p 
])) 
Rollback to Revision 2
Source Link
AZTECCO
  • 10.9k
  • 1
  • 15
  • 58

JavaScript (Node.js), 62 bytes

//m0()m  ]
//=](=a  )
//>.a>p( )
//mm,m/aa
//[ap./=[
   p  =>p

Try it online!

Improved with a different layout

///// 
///// 
m=>m[ 
0].map 
((a,p 
 )=>m. 
map//= 
  (a=> 
   a[p 
])) 

.map//= (a=> a[p ]))

JavaScript (Node.js), 62 bytes

//m0()m  ]
//=](=a  )
//>.a>p( )
//mm,m/aa
//[ap./=[
   p  =>p

Try it online!

Improved with a different layout

///// 
///// 
m=>m[ 
0].map 
((a,p 
 )=>m  

.map//= (a=> a[p ]))

JavaScript (Node.js), 62 bytes

//m0()m  ]
//=](=a  )
//>.a>p( )
//mm,m/aa
//[ap./=[
   p  =>p

Try it online!

Improved with a different layout

///// 
///// 
m=>m[ 
0].map 
((a,p 
 )=>m. 
map//= 
  (a=> 
   a[p 
])) 
deleted 1 character in body
Source Link
AZTECCO
  • 10.9k
  • 1
  • 15
  • 58

JavaScript (Node.js), 62 bytes

//m0()m  ]
//=](=a  )
//>.a>p( )
//mm,m/aa
//[ap./=[
   p  =>p

Try it online!

Improved with a different layout

///// 
///// 
m=>m[ 
0].map 
((a,p 
 )=>m. 
map//= 
  (a=> 
   a[p 
])) 

.map//= (a=> a[p ]))

JavaScript (Node.js), 62 bytes

//m0()m  ]
//=](=a  )
//>.a>p( )
//mm,m/aa
//[ap./=[
   p  =>p

Try it online!

Improved with a different layout

///// 
///// 
m=>m[ 
0].map 
((a,p 
 )=>m. 
map//= 
  (a=> 
   a[p 
])) 

JavaScript (Node.js), 62 bytes

//m0()m  ]
//=](=a  )
//>.a>p( )
//mm,m/aa
//[ap./=[
   p  =>p

Try it online!

Improved with a different layout

///// 
///// 
m=>m[ 
0].map 
((a,p 
 )=>m  

.map//= (a=> a[p ]))

Better layout
Source Link
AZTECCO
  • 10.9k
  • 1
  • 15
  • 58
Loading
Source Link
AZTECCO
  • 10.9k
  • 1
  • 15
  • 58
Loading