Skip to content

Instantly share code, notes, and snippets.

@phorcys420
Last active February 5, 2024 10:18
Show Gist options
  • Save phorcys420/9e4003838705250b200bbe9730398467 to your computer and use it in GitHub Desktop.
Save phorcys420/9e4003838705250b200bbe9730398467 to your computer and use it in GitHub Desktop.
:-)
let [a,b,c]=
[[6,2,5,3,1,3,4,
3],[0,2,3,3,16,3
],[ 0,3,2,3]
]; console.log([[
10, 11],[ 7,17]
,[7,3,7 ,8],[ 6,
3,3,14], [6,3,2,5,8,5],[1,
7,3,5,11,2],[0,8,3,17],[
... c,4 ,16],[...c,5,14]
,[ ... c,3,16,3],b,b,
[0,4,1,3,16,3],[0,8,5,7,4,3
],a,a,[6 ,10,1,10]].map(
e =>e .map
(( v,i )=>(
i% 2 ? ";":
" " ) . /**/
//// /// ///
repeat(v )).join (""
)) /// /// ///
// /// /// ///
.join("\n" ))////////
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment