chore: replace ~~ with Math.trunc in res.length (option) (#1288)
parent
7e46c2058c
commit
9be8583125
|
@ -211,7 +211,7 @@ module.exports = {
|
|||
return;
|
||||
}
|
||||
|
||||
return ~~len;
|
||||
return Math.trunc(len) || 0;
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue