-
-
Notifications
You must be signed in to change notification settings - Fork 367
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
Don't prefer number properties for Infinity by default #2311
Comments
Yeah, after using the rule for a while, I agree that it does not provide any benefits. I think we can change the default for the |
Perhaps we replace |
It doesn't really fit the rule. The rule description is:
|
Maybe we could rename the rule from |
Maybe in the future we could also stop preferring |
We were discussing this on the tc39 forums... I don't think the consistency is worth it.
Infinity
and-Infinity
require less cognitive load and are easier to write thanNumber.POSITIVE_INFINTY
andNumber.NEGATIVE_INFINITY
.The text was updated successfully, but these errors were encountered: