1.1 KiB
1.1 KiB
id, title, challengeType, videoUrl, localeTitle
id | title | challengeType | videoUrl | localeTitle |
---|---|---|---|---|
bd7993c9c69feddfaeb7bdef | Multiply Two Decimals with JavaScript | 1 | 使用JavaScript乘以两个小数 |
Description
Instructions
0.0
使产品等于5.0
。 Tests
tests:
- text: 变量<code>product</code>应该等于<code>5.0</code> 。
testString: 'assert(product === 5.0, "The variable <code>product</code> should equal <code>5.0</code>.");'
- text: 你应该使用<code>*</code>运算符
testString: 'assert(/\*/.test(code), "You should use the <code>*</code> operator");'
Challenge Seed
var product = 2.0 * 0.0;
After Test
console.info('after the test');
Solution
// solution required