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
Get step-by-step solutions from verified subject matter experts
