-
-
Notifications
You must be signed in to change notification settings - Fork 34.5k
Closed
Labels
questionIssues that look for answers.Issues that look for answers.
Description
This new feature is already in Chrome 75+
Large numeric literals are difficult for the human eye to parse quickly, especially when there are lots of repeating digits:
1000000000000
1019436871.42
To improve readability, this JavaScript language feature enables underscores as separators in numeric literals. So, the above can now be rewritten to group the digits per thousand, for example:
1_000_000_000_000
1_019_436_871.42
Now it’s easier to tell that the first number is a trillion, and the second number is in the order of 1 billion.
and here is it's repository:
Metadata
Metadata
Assignees
Labels
questionIssues that look for answers.Issues that look for answers.