Created
February 24, 2020 23:18
-
-
Save manakuro/e58966a657015bc9f43eda936c4eef06 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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