Put in order · JavaScript and TypeScript course · Module 1: JavaScript Basics
Order of Operations PEMDAS
Arrange arithmetic operators from highest to lowest precedence:
Items to put in order
- Parentheses ( )
- Multiplication * and division /
- Exponentiation **
- Addition + and subtraction -
Show the answer
Correct order:
- Parentheses ( )
- Exponentiation **
- Multiplication * and division /
- Addition + and subtraction -