* fix: rm assert msg basic-javascript * fix: removed more assert msg args * fix: fixed verbiage Co-Authored-By: Parth Parth <34807532+thecodingaviator@users.noreply.github.com>
1.0 KiB
1.0 KiB
id, title, challengeType, videoUrl
id | title | challengeType | videoUrl |
---|---|---|---|
cf1231c1c11feddfaeb5bdef | Multiply Two Numbers with JavaScript | 1 | https://scrimba.com/c/cP3y3Aq |
Description
*
symbol for multiplication of two numbers.
Example
myVar = 13 * 13; // assigned 169
Instructions
0
so that product will equal 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 Test
(function(z){return 'product = '+z;})(product);
Solution
var product = 8 * 10;