Files
freeCodeCamp/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/multiply-two-numbers-with-javascript.md
Nicholas Carrigan (he/him) f25e3e69f8 feat: enable new langs (#42491)
Enable italian and portuguese
2021-06-15 13:19:18 +05:30

851 B

id, title, challengeType, videoUrl, forumTopicId, dashedName
id title challengeType videoUrl forumTopicId dashedName
cf1231c1c11feddfaeb5bdef Multiply Two Numbers with JavaScript 1 https://scrimba.com/c/cP3y3Aq 18243 multiply-two-numbers-with-javascript

--description--

We can also multiply one number by another.

JavaScript uses the * symbol for multiplication of two numbers.

Example

myVar = 13 * 13;

myVar would have the value 169.

--instructions--

Change the 0 so that product will equal 80.

--hints--

The variable product should be equal to 80.

assert(product === 80);

You should use the * operator.

assert(/\*/.test(code));

--seed--

--after-user-code--

(function(z){return 'product = '+z;})(product);

--seed-contents--

var product = 8 * 0;

--solutions--

var product = 8 * 10;