Mechanism to provide number grouping in numeric literals
bijumaillist at gmail.com
Sun Mar 15 03:51:34 UTC 2015
When I want to write code to put timeout for 3 seconds, I prefer to write.
setTimeout(afunction, 3 * 1000);
This to avoid accidentally putting 30000 (or 300).
I wish there was mechanism to provide number grouping in numeric literals.
Java and C# come up with a underscore format.
Additional Numeric Literal Formats)
More information about the es-discuss