Review the following code:
if (counter <= 10) { if (counter >= 10) { console.log(1); } }
We can replace it using:
if (counter == 10) console.log(1);
if (false) console.log(1);
if (counter >= 10) console.log(1);
if (true) console.log(1);
More Questions: JavaScript Essentials 1 – JSE1: Module 4 Test
Please login or Register to submit your answer