Question:What will be the output for the following JavaScript bitwise operation?var alpha=5<<1; document.write(alpha);
var alpha=5<<1; document.write(alpha);
A 10 B 6 C 2 D 4
+ AnswerA
+ Explanation5<<1=>101<<1 (converting 5 into binary)=>1010 (add 1 zero to the right) =>8+0+2+0 =>10
+ Report