js-beautify icon indicating copy to clipboard operation
js-beautify copied to clipboard

Variables with escaped unicode characters are not recognized

Open ghost opened this issue 7 years ago • 0 comments

Description

The beautifier doesn't seem to recognize variables with unicode names. The input is a valid JavaScript code, but the output is not.

Input

var \u040F = Џ;

Expected Output

var \u040F = Џ;

Actual Output

var\ u040F = Џ;

ghost avatar Oct 09 '17 19:10 ghost