Review the following code snippet:
if (counter <= 10 && confirm === false) { console.log("test"); }
What values can the counter
and confirm
variables have so that the console displays "test"
as a result of code execution?
- counter:
10
, show:true
- counter:
11
, show:false
- counter:
10
, show:false
- counter:
9
, show:true
More Questions: JavaScript Essentials 1 – JSE1: Module 4 Test
Please login or Register to submit your answer