-
Notifications
You must be signed in to change notification settings - Fork 28
Separator in NonOctalDecimalIntegerLiteral fractional / exponent parts? #49
Comments
cc @joshualitt |
Last time I asked #24 (comment), I was told that that's expected/intended. |
Thanks @anba. It doesn't look like you were provided any rationale in that thread though, so I would at least like to have that spelled out before closing this. My guess is that we must not be viewing |
I feel like we've missed an opportunity to discuss this. The At this point we have Stage 4 request in the agenda for this month's meeting. My personal opinion is that we could forbid separators in the fractional/exponential parts, but if I'm allowed, I'd rather take this in a follow up PR or proposal, with specific tests and a better tracking. The current integrations with the string to number parsings and BigInt notation was a bit harsh and the follow up would be pretty minor if we compare. The question is, does this follow up works for everyone? We can still add it to the agenda today. |
At the TC39 Meeting in July 2020 we reached a conclusion this belongs to a broader matter whether NonOctals should have fractional or exponential parts disallowed. The committee agreed to not disallow numeric separators in the fractional or exponential parts of NonOctals at this point. Thanks! |
@gsathya noticed that the proposed spec currently prohibits
09_1
but allows09.1_1
and09e1_1
.Specifically, we have:
JSC and V8 are adhering to the current text, but is this something we'd like to change stance on?
The text was updated successfully, but these errors were encountered: