Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created June 24, 2020 05:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save velotiotech/a7532a5c1cb47d04d06e82b61172213e to your computer and use it in GitHub Desktop.
Save velotiotech/a7532a5c1cb47d04d06e82b61172213e to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment