diff --git a/src/algorithms/math/bits/countSetBits.js b/src/algorithms/math/bits/countSetBits.js index 63839d4e..6e24eebf 100644 --- a/src/algorithms/math/bits/countSetBits.js +++ b/src/algorithms/math/bits/countSetBits.js @@ -11,7 +11,7 @@ export default function countSetBits(originalNumber) { setBitsCount += number & 1; // Shift number right by one bit to investigate other bits. - number >>>= 1; + number >>= 1; } return setBitsCount;