Skip to content

Instantly share code, notes, and snippets.

@tripdog
Last active June 12, 2021 22:01
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 tripdog/d59518fb7ea22ec3fca3f5cb6626b04c to your computer and use it in GitHub Desktop.
Save tripdog/d59518fb7ea22ec3fca3f5cb6626b04c to your computer and use it in GitHub Desktop.
Operators (math)

Operators - Lots Of Math

function lotsOfMath(a, b, c, d){
    sum = a + b
    console.log(sum)
    minus = d - c
    console.log(d - c)
    console.log(sum * minus)
    console.log(minus%a)
}
console.log(lotsOfMath(1, 2, 3, 4))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment