x << y
Where x is a 32-bit integer, appends y zeros to the binary representation of x
x
y
1 << 2 // 1 (1) -> 100 (4) 2 << 4 // 2 (10) -> 100000 (32)
Last updated 5 years ago
Was this helpful?