javascript logical left shift code example Example: right shift operator js (A >> B) == Math.floor(A / (2 ** B)) == Math.floor(A / Math.pow(2, B))