1.3 KiB
1.3 KiB
id, title, challengeType, videoUrl, forumTopicId, localeTitle
id | title | challengeType | videoUrl | forumTopicId | localeTitle |
---|---|---|---|---|---|
cf1231c1c11feddfaeb5bdef | Multiply Two Numbers with JavaScript | 1 | https://scrimba.com/c/cP3y3Aq | 18243 | Умножить два числа с помощью JavaScript |
Description
*
для умножения двух чисел. пример
myVar = 13 * 13; // присвоено 169
Instructions
0
чтобы продукт равнялся 80
.
Tests
tests:
- text: Make the variable <code>product</code> equal 80
testString: assert(product === 80);
- text: Use the <code>*</code> operator
testString: assert(/\*/.test(code));
Challenge Seed
var product = 8 * 0;
After Tests
(function(z){return 'product = '+z;})(product);
Solution
var product = 8 * 10;