DEV Community

Takuya Kikuchi
Takuya Kikuchi

Posted on

Numeric separators

"Numeric separators" has been added in ES2021.

Very useful to make numeric literals more readable by creating a visual separation between groups of digits 🙌

 100000000 === 100_000_000; // true
Enter fullscreen mode Exit fullscreen mode


More details about "Numeric separators" 👇

GitHub - tc39/proposal-numeric-separator: A proposal to add numeric literal separators in JavaScript.

Discussion (0)