-
-
Notifications
You must be signed in to change notification settings - Fork 415
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement global Infinity
property
#480
Comments
@HalidOdat Can I take this up along with #481 ? |
You can have this, I'm not sure about the second though, I think @croraf is doing it. If you need any help or have a question tell us :) |
Oh ok, thanks! In that case I'll leave out the changes meant of #481 for the time-being |
ECMASCript feature
Infinity
is not a number, but a global property.We can add this by adding a new module like
NaN
https://github.com/boa-dev/boa/tree/master/boa/src/builtins/nan and then adding it to the builtininit
function inbuiltins/mod.rs
the value it should contain should beValue::from(f64::INFINITY)
More information
- ECMAScript reference
- MDN
The text was updated successfully, but these errors were encountered: