Skip to content

Instantly share code, notes, and snippets.

@manakuro
Created February 24, 2020 23:18
Show Gist options
  • Save manakuro/e58966a657015bc9f43eda936c4eef06 to your computer and use it in GitHub Desktop.
Save manakuro/e58966a657015bc9f43eda936c4eef06 to your computer and use it in GitHub Desktop.
let person = { score: 25 };
let newScore = person.score
|> double
|> add(7, ?)
|> boundScore(0, 100, ?);
newScore //=> 57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment