Skip to content

Commit

Permalink
ignore prefer-primordials
Browse files Browse the repository at this point in the history
  • Loading branch information
0f-0b committed Nov 22, 2024
1 parent 19a3947 commit 1a8c8f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runtime/js/99_main.js
Original file line number Diff line number Diff line change
Expand Up @@ -869,6 +869,7 @@ function bootstrapMainRuntime(runtimeOptions, warmup = false) {
delete globalThis.Temporal.Now.timeZone;
}

// deno-lint-ignore prefer-primordials
if (new Temporal.Duration().toLocaleString("en-US") !== "PT0S") {
throw "V8 supports Temporal.Duration.prototype.toLocaleString now, no need to shim it";
}
Expand Down

0 comments on commit 1a8c8f0

Please sign in to comment.