Order of Operations
Code follows the same precedence you learned in math: exponents, then multiplication/division, then addition/subtraction. Parentheses override everything. When in doubt, add parentheses, clarity is free.
Mark this lesson complete
Signed in, your progress follows you to every device.