Pending Review
Last Updated: 23 Apr 2019 15:22 by Eric
Eric
Created on: 23 Apr 2019 15:22
Type: Bug Report
0
JavaScript formatter/parser needs to support underscores in numeric literals

Reformatter.cs, around line 880, needs to support the new JavaScript feature of allowing underscores as (ignorable) digit separators. Otherwise, the parser treats _ as the end of the numeric value which breaks reformatting.

 

See http://2ality.com/2018/02/numeric-separators.html

0 comments