chore: lint using putout
This commit is contained in:
@@ -162,7 +162,7 @@ it('wcwidth should match all values from the old implementation', function(): vo
|
||||
// we are only interested in 2 LSBs, cut off higher bits
|
||||
// ==> n = n & 3 e.g. 000000000000000000000000000000XX
|
||||
return (num: number): number => {
|
||||
num = num | 0; // get asm.js like optimization under V8
|
||||
num |= 0; // get asm.js like optimization under V8
|
||||
if (num < 32) {
|
||||
return control | 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user