r/javascript • u/n3dst4 • Dec 24 '15
I wrote an ES6 script to generate the Twelve Days of Christmas as emoji, because let's face it, no-one's doing any real work today
131
Upvotes
r/javascript • u/n3dst4 • Dec 24 '15
30
u/IDCh Dec 24 '15
This is SO antiwork it's almost insane :D
7
u/xoxota99 Dec 24 '15
I never realized how many freaking birds are in this song...
14
u/DOG-ZILLA Dec 24 '15
You obviously know what you're doing with JS! If I had to write this, it'd be a for loop with additional inner loops. What a mess that would be!
Now time to work out how the hell your code works... 👍🎅
10
u/Crashthatch Dec 24 '15
On the twelfth day of Christmas, my true love gave to me:
7
u/joshmanders Full Snack Developer Dec 24 '15
I wish. While the whole office is basically out for the day, production line and me are still here. I'm working on infrastructure while production line wrap up a few orders.
6
u/kommentz Dec 24 '15 edited Dec 24 '15
I just spent way too much time trying to figure out what the double colons meant in ES6, but that's just the damn emojis!! Thanks.
6
u/flipstables Dec 24 '15
FFFIIIIVVVEEEE GOOLLDDDDEEENNNNNN RRINNGGGGSSSSSSS!
2
u/king3730 (() => {})() Dec 24 '15
Good shit man. ES6 ftw!
0
u/[deleted] Dec 24 '15
[deleted] — view deleted comment