Q
What is the result of 'true && false' in JavaScript?

Answer & Solution

Answer: Option B
Solution:
The logical AND operator (&&) returns false if any operand is false.
Related Questions on Average

Which operator is used for addition in JavaScript?

A). +

B). -

C). *

D). /

What is the result of 'true

A).

B). true' in JavaScript?

C). 1

D). 0

What is the assignment operator in JavaScript?

A). =

B). ==

C). ===

D). !=

Which operator is used for left shift in JavaScript?

A). <<

B). >>

C). <<<

D). >>>>>

What is the result of '5 == '5'' in JavaScript?

A). 1

B). 0

C). 1

D). 0

Which operator is used for exponentiation in JavaScript?

A). ^

B). **

C). *

D). /

Which operator is used for strict equality in JavaScript?

A). ==

B). ===

C). !=

D). !==

Which operator is used for right shift in JavaScript?

A). <<

B). >>

C). <<<

D). >>>>>

What is the result of '10 !== '10'' in JavaScript?

A). 1

B). 0

C). 1

D). 0

What is the result of 'true || false' in JavaScript?

A). 1

B). 0

C). 1

D). 0