Skip to content

Instantly share code, notes, and snippets.

@irony
Created December 17, 2017 18:34
Show Gist options
  • Star 11 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save irony/441221d4a55b9b4eea253b66d4c94ad6 to your computer and use it in GitHub Desktop.
Save irony/441221d4a55b9b4eea253b66d4c94ad6 to your computer and use it in GitHub Desktop.
God Jul Kodapor!
const outside = {weather: FRIGHTFUL}
const inside = {fire: DELIGHTFUL}
const go = places => places.some(p=>p>outside.weather)))
const snow = () => (outside.weather < inside.fire && !go(places)) {
let it = snow()
}
let it = snow()
const FRIGHTFUL = 1
const DELIGHTFUL = 1337
@gringokiwi
Copy link

Ohhhh this is brilliant

@dolceficante
Copy link

It freezes my computer when I try and run it

@nhance
Copy link

nhance commented Dec 19, 2017

Oh the weather outside is frightful
But the fire is so delightful
And since we've no place to go
Let it snow! Let it snow! Let it snow!
It doesn't show signs of stopping
And I've bought some corn for popping
The lights are turned way down low
Let it snow! Let it snow! Let it snow!
When we finally kiss goodnight
How I'll hate going out in the storm!
But if you'll really hold me tight
All the way home I'll be warm
The fire is slowly dying
And, my dear, we're still goodbying
But as long as you love me so
Let it snow! Let it snow! Let it snow!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment