Skip to content

Instantly share code, notes, and snippets.

@RangerMauve
Last active December 22, 2015 10:39
Show Gist options
  • Save RangerMauve/6459971 to your computer and use it in GitHub Desktop.
Save RangerMauve/6459971 to your computer and use it in GitHub Desktop.
golf.js #6
s='*'
i=input
a=Array
j='join'
r=a(i+1)[j](s)
c=a(--i)
b='\n'+s+c[j](' ')+s
output=r+c[j](b)+(i?'\n'+r:'')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment