Intent to Ship: Numeric separators

132 views
Skip to first unread message

Sathya Gunasekaran

unread,
Mar 15, 2018, 1:02:23 PM3/15/18
to v8-users, blink-dev

Note that this is a v8/JavaScript feature, so this post is just an FYI for blink-dev — no sign-off from Blink API owners is required.


Contact Emails:
gsa...@chromium.org
b...@b6n.ch

Spec:

Summary:
This feature enables developers to make their numeric literals more readable by creating a visual separation between groups of digits. Using underscores (_, U+005F) as separators helps improve readability for numeric literals, for ex: 1_000_000_000.

Interoperability and Compatibility Risk:
This is a Stage3 feature in the TC39 process. Previously this was a SyntaxError so there is no compat risk.

Safari and Edge have not implemented this feature. This is under development in Firefox.

V8 tests as well as test262 tests pass.

Tracking bug:

Chromestatus entry:

Adam Klein

unread,
Mar 15, 2018, 2:25:23 PM3/15/18
to v8-users, blink-dev
There's a possible conflict between this feature and another proposal, Extended Numeric Literals. The issue, https://github.com/tc39/proposal-extended-numeric-literals/issues/7, should be addressed at next week's TC39 meeting, and I'd like to see it settled before shipping this in V8.

--
--
v8-users mailing list
v8-u...@googlegroups.com
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to the Google Groups "v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sathya Gunasekaran

unread,
Mar 28, 2019, 11:59:26 AM3/28/19
to Adam Klein, v8-users, blink-dev
(retrying from @chromium.org account)

On Thu, Mar 15, 2018 at 2:25 PM Adam Klein <ad...@chromium.org> wrote:
>
> There's a possible conflict between this feature and another proposal, Extended Numeric Literals. The issue, https://github.com/tc39/proposal-extended-numeric-literals/issues/7, should be addressed at next week's TC39 meeting, and I'd like to see it settled before shipping this in V8.

This issue has been resolved.

> On Thu, Mar 15, 2018 at 5:02 PM, Sathya Gunasekaran <gsa...@chromium.org> wrote:
>>
>> Note that this is a v8/JavaScript feature, so this post is just an FYI for blink-dev — no sign-off from Blink API owners is required.
>>
>>
>> Contact Emails:
>> gsa...@chromium.org
>> b...@b6n.ch
>>
>> Spec:
>> https://tc39.github.io/proposal-numeric-separator/
>>
>> Summary:
>> This feature enables developers to make their numeric literals more readable by creating a visual separation between groups of digits. Using underscores (_, U+005F) as separators helps improve readability for numeric literals, for ex: 1_000_000_000.
>>
>> Interoperability and Compatibility Risk:
>> This is a Stage3 feature in the TC39 process. Previously this was a SyntaxError so there is no compat risk.
>>
>> Safari and Edge have not implemented this feature. This is under development in Firefox.
>>
>> V8 tests as well as test262 tests pass.
>>
>> Tracking bug:
>> https://bugs.chromium.org/p/v8/issues/detail?id=7317
>>
>> Chromestatus entry:
>> https://www.chromestatus.com/feature/5829906369871872
>>
>> --
>> --
>> v8-users mailing list
>> v8-u...@googlegroups.com
>> http://groups.google.com/group/v8-users
>> ---
>> You received this message because you are subscribed to the Google Groups "v8-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+u...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google Groups "blink-dev" group.
> To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAEvLGcLP3jm-TDH9FkrwvtrYiz4%2BEGYvHAQRg5UP98PQHKuRXw%40mail.gmail.com.

Sathya Gunasekaran

unread,
Mar 28, 2019, 12:01:34 PM3/28/19
to Adam Klein, v8-users, blink-dev
On Thu, Mar 15, 2018 at 2:25 PM Adam Klein <ad...@chromium.org> wrote:
>
> There's a possible conflict between this feature and another proposal, Extended Numeric Literals. The issue, https://github.com/tc39/proposal-extended-numeric-literals/issues/7, should be addressed at next week's TC39 meeting, and I'd like to see it settled before shipping this in V8.
>

This issue has been resolved.

> On Thu, Mar 15, 2018 at 5:02 PM, Sathya Gunasekaran <gsa...@chromium.org> wrote:
>>
>> Note that this is a v8/JavaScript feature, so this post is just an FYI for blink-dev — no sign-off from Blink API owners is required.
>>
>>
>> Contact Emails:
>> gsa...@chromium.org
>> b...@b6n.ch
>>
>> Spec:
>> https://tc39.github.io/proposal-numeric-separator/
>>
>> Summary:
>> This feature enables developers to make their numeric literals more readable by creating a visual separation between groups of digits. Using underscores (_, U+005F) as separators helps improve readability for numeric literals, for ex: 1_000_000_000.
>>
>> Interoperability and Compatibility Risk:
>> This is a Stage3 feature in the TC39 process. Previously this was a SyntaxError so there is no compat risk.
>>
>> Safari and Edge have not implemented this feature. This is under development in Firefox.
>>
>> V8 tests as well as test262 tests pass.
>>
>> Tracking bug:
>> https://bugs.chromium.org/p/v8/issues/detail?id=7317
>>
>> Chromestatus entry:
>> https://www.chromestatus.com/feature/5829906369871872
>>
>> --
>> --
>> v8-users mailing list
>> v8-u...@googlegroups.com
>> http://groups.google.com/group/v8-users
>> ---
>> You received this message because you are subscribed to the Google Groups "v8-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+u...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>
>
> --

Mathias Bynens

unread,
Mar 28, 2019, 3:21:49 PM3/28/19
to Sathya Gunasekaran, Adam Klein, v8-users, blink-dev
LGTM now that the conflict has been resolved!

To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAMd%2BM7yE0uhhY5SssaaKxF%2Bw-hY7ibSVd2fsbEPD3A6C%2BpLa1w%40mail.gmail.com.

Sam Goto

unread,
Mar 29, 2019, 8:37:08 PM3/29/19
to Mathias Bynens, Sathya Gunasekaran, Adam Klein, v8-users, blink-dev

Adam Klein

unread,
Apr 1, 2019, 7:30:22 PM4/1/19
to Sam Goto, Mathias Bynens, Sathya Gunasekaran, v8-users, blink-dev
LGTM3
Reply all
Reply to author
Forward
0 new messages