135Divide One Number by Another with JavaScript(乘积)
最近更新时间:
说明:
我们也可在 JavaScript 中使用乘法运算。
JavaScript 使用这个 * 符号来让两个数字相乘。
举例
myVar = 13 * 13; // 把 169 赋值给 myVar
任务
改变数值 0 来让变量 product 的值等于 80。
Run tests (ctrl + enter)
需要使 product 的值等于 80
使用 * 运算符
原始代码:
var product = 8 * 0;
调试代码:
var product = 8 * 10;
Previous134Multiply Two Numbers with JavaScript(乘法运算)Next136Increment a Number with JavaScript(除法运算)
Last updated
Was this helpful?