1 << x | 0 js code example Example: right shift operator js (A >> B) == Math.floor(A / (2 ** B)) == Math.floor(A / Math.pow(2, B))