mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-01 00:03:50 -05:00
* fix: Chinese test suite Add localeTiltes, descriptions, and adjust test text and testStrings to get the automated test suite working. * fix: ran script, updated testStrings and solutions
1.0 KiB
1.0 KiB
id, title, challengeType, videoUrl, localeTitle
| id | title | challengeType | videoUrl | localeTitle |
|---|---|---|---|---|
| cf1231c1c11feddfaeb5bdef | Multiply Two Numbers with JavaScript | 1 | 使用JavaScript将两个数字相乘 |
Description
*符号来乘以两个数字。 例
myVar = 13 * 13; //指定169
Instructions
0使产品等于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
console.info('after the test');
Solution
// solution required