- A 100000
- B 1000
- C 2000
- D 1000
- Share this MCQ
Answer:
A
Share this MCQ
The <<
operator in JavaScript is the left shift operator, which performs a bitwise left shift operation on its operands.
In this case, the <<
operator is called on x
and y
, with x
as the first operand and y
as the second operand.
Since x
is 10
and y
is 20
, the result of the <<
operator will be the left shift of the binary representation of 10
by 20
bits, which is 100000
in decimal.
Share this MCQ