Question · JavaScript and TypeScript course · Module 1: JavaScript Basics
Grouping with Parentheses
How can you force a different order of operations than the default in JavaScript?
Answer options
- Use curly braces { }
- You cannot change the order of operations
- Use square brackets [ ]
- Use parentheses ( )
Show the answer
Correct answer:
- Use parentheses ( )