We have initialized the name variable with the value "Alice"
then we try to write the number 100 into it.
let name = "Alice";
name = 100;
function fn(a) {
console.log('test');
a--;
if(a>2) fn(a);
}
fn(6);
How many times will test appear on the screen?
What should such a declaration look like?
© Copyrights DumpsEngine 2026. All Rights Reserved
We use cookies to ensure your best experience. So we hope you are happy to receive all cookies on the DumpsEngine.
