Skip to main content
2 of 2
added 6 characters in body
l4m2
  • 28.5k
  • 2
  • 25
  • 103

JavaScript (V8), 131 bytes

[].fill.constructor`M${`for(N\x3D1\x3bM\x3bn-N||--M-print(n\x29\x29for(n\x3Di\x3DN-\x3D-1\x3bi-->2\x3b\x29n\x2fi-~~[n\x2fi]||n--`}`

Try it online!

l4m2
  • 28.5k
  • 2
  • 25
  • 103