odin-js-fundamentals-part-2/03-lets-do-some-math/math.js

15 lines
437 B
JavaScript

/**
* Lets do some math!
* Some rules first:
* - Replace the strings to the right of the = with the math expression they describe.
* - Do not manually enter the answers to the equations. For example, `const a = 9` would be incorrect as 9 is the answer to the equation you're being asked to write out
*/
const a = 1 + 8
const b = 22 * 3
const c = 5 % 4
const d = a - 17
const e = a + b + c + d
module.exports = {a, b, c, d, e}