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