25
18
12
Jul 31 '21
What’s the practical use of this?
35
u/KonkenBonken Jul 31 '21
Only readability
1
u/Carneasadaeverything Jul 31 '21
is it for only initiating values for a constant? how would you use this?
7
3
u/CaptainSkuxx Jul 31 '21
You can use it anywhere where you think a number is hard to read. But I guess you would mostly have these types of numbers when initiating constants.
2
9
u/capt_strugglebunny Jul 31 '21
Cordial me: This is a nice addition.
Sarcastic me: Ruby says welcome to 1995.
1
1
-3
u/funny_games Jul 31 '21
Yeah pretty sure it’s older than ES2021?
6
u/StoneCypher Jul 31 '21
nope.
you can look it up, if you like, or you could just keep publicly guessing that people are wrong
the proposal hasn't even been updated to say it's landed yet
0
-1
u/Bloodsucker_ Jul 31 '21
When is the W3C gonna realise JS is becoming bloated with totally unnecessary and irrelevant features that only makes the language complicated?
0
11
u/omar2205 Jul 31 '21
https://caniuse.com/?search=numeric%20separators