Power 运算符测验
单选题 简单
题目
什么是 result 的 `2 ** 3` in JavaScript?
提示
is the exponentiation operator: base exponent.
解释
operator raises the base to the exponent power. 2 3 平均值 2 到 power 的 3 = 2 × 2 × 2 = 8. 这个是 相同 as Math.pow(2, 3). 注意: 2 * 3 会是 6 (multiplication), and 2 + 3 会是 5 (addition).
相关资源
相关课程
- 数字 and Math
学习关于数字 and math 操作.
查阅不认识的术语
新手友好的术语表用大白话解释编程术语——变量、函数、DOM、Promise 等等。
解读错误信息
用大白话解释常见错误——什么意思、为什么发生、如何修复。
动手做项目
通过引导式项目应用所学,含起始代码与解决方案。