Skip to content

Commit

Permalink
builtins/math: add a missing type
Browse files Browse the repository at this point in the history
  • Loading branch information
CanadaHonk committed Sep 21, 2024
1 parent e7d49db commit 4512252
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion compiler/builtins/math.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ export const __Math_cbrt = (y: number): number => {
if (!Number.isFinite(y)) return y;

// Babylonian method
let x = Math.abs(y);
let x:number = Math.abs(y);

let prev: number;

Expand Down
4 changes: 2 additions & 2 deletions compiler/builtins_precompiled.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test262/history.json

Large diffs are not rendered by default.

0 comments on commit 4512252

Please sign in to comment.