More Typo
This commit is contained in:
parent
82099c8f0d
commit
627a2193a1
2 changed files with 6 additions and 2 deletions
|
@ -1,6 +1,10 @@
|
|||
export function maskBit(x, y) {
|
||||
return x & (1 << y);
|
||||
}
|
||||
export function maskOffBit(x, y) {
|
||||
return x & ~(1 << y);
|
||||
}
|
||||
|
||||
export function maskBits(x, y) {
|
||||
return x & y;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue