Skip to content

Commit

Permalink
Shave 4 bytes off gzip
Browse files Browse the repository at this point in the history
  • Loading branch information
chicoxyzzy committed Oct 16, 2019
1 parent ac0e37c commit 0e60198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/detectors/big-int/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

export default async function(bytes) {
try {
const n = BigInt(0);
const n = 0n;
const instance = await WebAssembly.instantiate(bytes);
return instance.instance.exports.b(n) === n;
} catch {
Expand Down

0 comments on commit 0e60198

Please sign in to comment.