Power Operator Quiz
Multiple Choice Easy
Question
What is the result of `2 ** 3` in JavaScript?
Hint
is the exponentiation operator: base exponent.
Explanation
The operator raises the base to the exponent power. 2 3 means 2 to the power of 3 = 2 × 2 × 2 = 8. This is the same as Math.pow(2, 3). Note: 2 * 3 would be 6 (multiplication), and 2 + 3 would be 5 (addition).
Related Resources
Related Lessons
- Numbers and Math
Learn about numbers and math operations.
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.