Add more bit manipulation functions.

This commit is contained in:
Oleksii Trekhleb
2018-06-27 17:33:16 +03:00
parent 792f4906df
commit c268203259
6 changed files with 73 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
/**
* @param {number} number
* @return {number}
*/
export default function divideByTwo(number) {
return number >> 1;
}