Commit be2efbb
committed
Support numeric separator (i.e. 123_456)
ECMAScript numeric separator proposal is now on stage3
https://github.com/tc39/proposal-numeric-separator
and will come to TypeScript at version 2.7.
microsoft/TypeScript#20324
Example:
```typescript
const i = 123_456;
const x = 0x1fa_EF6;
const f = 123_456.0_456;
const f2 = 123_456.4_5e1_2;
```1 parent fbd0e9e commit be2efbb
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
0 commit comments