243
444
2 2 2
432
15
1.5
5
Error
10 10
9 10
9 9
10 9
true
false
undefined
How many times will the following loop execute How many times will the following loop execute?
for (let i = 0; i < 5; i++) { console.log(i); }
4
6
Infinite
Use break;
Use continue;
Use skip;
Use return;
Left-to-right
Right-to-left
Top-to-bottom
Undefined
var
let
static
public
==
=
===
!=
What is the output?
console.log("5" + 2);
7
52
::
?:
??
=>
console.log(2+"2"*2);
44
12
getElement()
getElementById()
getId()
queryElement()
onblur
onfocus
onclick
onsubmit
let x=10; if(x="5") console.log("Yes");
No Output
Yes
/
%
*
^
What will be the output?
let x = 0; if(x) console.log("True"); else console.log("False");
True
False
0
console.log(true + true);
1
2
for(i=1;i<=3;i++); console.log(i);
1 2 3
3