Q
Which operator is used for right shift in JavaScript?

Answer & Solution

Answer: Option B
Solution:
The right shift operator (>>) shifts bits to the right.
Related Questions on Average

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

A). 1

B). 0

C). 1

D). 0

Which operator is used to increment a value in JavaScript?

A). +

B). -

C). ++

D). --

Which operator is used for bitwise NOT in JavaScript?

A). &

B). |

C). ^

D). ~

What is the logical AND operator in JavaScript?

A). &&

B). ||

C). !

D). &

What is the result of 'true

A).

B). true' in JavaScript?

C). 1

D). 0

Which operator is used for bitwise XOR 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 modulo division in JavaScript?

A). %

B). /

C). *

D). ^

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

A). 1

B). 0

C). 1

D). 0