Skip to content

Instantly share code, notes, and snippets.

@manakuro
Created March 31, 2020 23:58
Show Gist options
  • Save manakuro/972b6fb5672105a45f7b6fc920dbe471 to your computer and use it in GitHub Desktop.
Save manakuro/972b6fb5672105a45f7b6fc920dbe471 to your computer and use it in GitHub Desktop.
let newScore = person.score
newScore = double(newScore)
newScore = add(newScore, 7)
newScore = boundScore(0, 100, newScore)
console.log(newScore) // 57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment