diff --git a/builtins.ts b/builtins.ts index 2f623c2..2830aab 100644 --- a/builtins.ts +++ b/builtins.ts @@ -170,6 +170,8 @@ const faux = { WeakSet, isFinite, isNaN, + parseFloat, + parseInt, // Math max: Math.max, min: Math.min, diff --git a/manual.md b/manual.md index 1bd4654..1d84ff8 100644 --- a/manual.md +++ b/manual.md @@ -130,3 +130,5 @@ The following JS objects/functions/value are exactly provided as is in a typical - [`isFinite`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/isFinite) - [`isNaN`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/isNaN) - [`eval`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval) +- [`parseFloat`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/parseFloat) +- [`parseInt`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/parseInt) \ No newline at end of file