From 0ee64ad84726f7c91842c6a2dab0cb6a96dead4b Mon Sep 17 00:00:00 2001 From: David Sherret Date: Wed, 4 Jan 2023 18:54:54 -0500 Subject: fix: upgrade deno_ast to 0.23 (#17269) Closes #17172 Closes #15669 Closes #8529 --- cli/js/40_testing.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/js') diff --git a/cli/js/40_testing.js b/cli/js/40_testing.js index f4dcf8a91..43232ef90 100644 --- a/cli/js/40_testing.js +++ b/cli/js/40_testing.js @@ -1069,7 +1069,7 @@ if (shuffle !== null) { // http://en.wikipedia.org/wiki/Linear_congruential_generator // Use BigInt for everything because the random seed is u64. - const nextInt = (function (state) { + const nextInt = function (state) { const m = 0x80000000n; const a = 1103515245n; const c = 12345n; @@ -1077,7 +1077,7 @@ return function (max) { return state = ((a * state + c) % m) % BigInt(max); }; - }(BigInt(shuffle))); + }(BigInt(shuffle)); for (let i = filtered.length - 1; i > 0; i--) { const j = nextInt(i); -- cgit v1.2.3