--- id: cf1231c1c11feddfaeb5bdef challengeType: 1 videoUrl: 'https://scrimba.com/c/cP3y3Aq' forumTopicId: 18243 title: 乘法运算 --- ## Description 我们也可在 JavaScript 中使用乘法运算。 JavaScript 使用*符号表示两数相乘。 示例 ```js myVar = 13 * 13; // assigned 169 ``` ## Instructions 改变数值0来让变量 product 的值等于80。 ## Tests ```yml tests: - text: 要使product的值等于 80。 testString: assert(product === 80); - text: 使用*运算符。 testString: assert(/\*/.test(code)); ``` ## Challenge Seed ```js var product = 8 * 0; ``` ### After Test ```js (function(z){return 'product = '+z;})(product); ``` ## Solution ```js var product = 8 * 10; ```
*
0
80
product