Add parseFloat and parseInt

This commit is contained in:
dylan 2023-05-14 14:09:20 -07:00
parent a6d093d728
commit 31f77c22da
2 changed files with 4 additions and 0 deletions

View File

@ -170,6 +170,8 @@ const faux = {
WeakSet, WeakSet,
isFinite, isFinite,
isNaN, isNaN,
parseFloat,
parseInt,
// Math // Math
max: Math.max, max: Math.max,
min: Math.min, min: Math.min,

View File

@ -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) - [`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) - [`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) - [`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)