function fn(a) {
console.log('test');
a--;
if(a>2) fn(a);
}
fn(6);
How many times will test appear on the screen?
let x = false || true;
let y = "true" && "false";
let z = false && true;
console.log(`${x} ${y} ${z}`);
What will appear in the console as a result of its execution?
through all elements of the indicated array?
(Select two correct answers)
let msg "Hello World";
console.log(msg);
What exception will be thrown as a result of its execution attempt?
© Copyrights Dumpscity 2024. All Rights Reserved
We use cookies to ensure your best experience. So we hope you are happy to receive all cookies on the Dumpscity.