mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-03 22:37:06 +02:00
Fix tons of typos
This commit is contained in:
@@ -11,7 +11,7 @@ export function isPowerOfTwo(n: number): boolean {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Disabiling the bitwise rule because it's honestly the most effecient way to check for this.
|
||||
// Disabling the bitwise rule because it's honestly the most efficient way to check for this.
|
||||
// tslint:disable-next-line:no-bitwise
|
||||
return (n & (n - 1)) === 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user