Skip to content

Commit 8086f8d

Browse files
author
Ujjwal Aryal
authored
Update extractBits.js
1 parent 413cfa4 commit 8086f8d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/algorithms/math/bits/extractBits.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,5 @@
99
*
1010
*/
1111
export default function extractBits(number, k, p) {
12-
1312
return (((1 << k) - 1) & (number >> (p - 1)));
14-
1513
}

0 commit comments

Comments
 (0)