Skip to content

Instantly share code, notes, and snippets.

@MarvinJWendt
Last active March 2, 2020 23:51
Show Gist options
  • Save MarvinJWendt/6c009381f8f1929f99b5ed9fb1380a08 to your computer and use it in GitHub Desktop.
Save MarvinJWendt/6c009381f8f1929f99b5ed9fb1380a08 to your computer and use it in GitHub Desktop.
function is(x) {
return {
plus: (plus) => {
return is(x + plus)
},
minus: (minus) => {
return is(x - minus)
},
equalToTen: () => {
return (x === 10)
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment