Question: solve these questions for javascript 1- We can replace the declaration let x = 3e-3; with? 2- Examine the following code: let x = mult

solve these questions for javascript

1- We can replace the declaration let x = 3e-3; with?

2- Examine the following code:

let x = mult (2) (10);

console. log (x); / / -> 20

so what should the mult function declaration look like if the execution of this code results in a value of 20 in the console?

3- Examine the following code:

let a = (n) => {

return n > 2 ? n * a(n - 1) : 2

}

a (6);

so what will appear on the console as a result?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!