Which of the following is a valid JavaScript literal expression?
A). 10 + 5
B). 'Hello'
C). true && false
D). (5 > 3)
What is the result of '5 >= 5' in JavaScript?
A). 1
B). 0
C). null
D). undefined
Which operator is used for incrementing a value in JavaScript?
A). ++
B). --
C). +=
D). -=
Which of the following is a function expression in JavaScript?
A). let x = 5;
B). function add(a, b) { return a + b; }
C). let y = 'Hello';
D). const PI = 3.14;
What is the result of '10 == '10'' in JavaScript?
A). 1
B). 0
C). undefined
D). null
Which operator is used for decrementing a value in JavaScript?
A). ++
B). --
C). +=
D). -=
What is the value of the expression 'true && false'?
A). 1
B). 0
C). null
D). undefined
What will be the value of '10 % 3' in JavaScript?
A). 1
B). 2
C). 3
D). 0
Which operator is used for logical NOT in JavaScript?
A). &&
B). ||
C). !
D). &
What will be the value of 'true
A).
B). false' in JavaScript?
C). 1
D). 0