babel-generator: Ensure ASCII-safe output for string literals (#4478)
Ref. #4477.
This commit is contained in:
committed by
Henry Zhu
parent
e5b9c92d3d
commit
b9919bdc48
@@ -4,6 +4,7 @@
|
||||
'\x20';
|
||||
"\n\r";
|
||||
"😂";
|
||||
`😂`;
|
||||
/foobar/g;
|
||||
null;
|
||||
true;
|
||||
|
||||
@@ -1 +1 @@
|
||||
5;5;"foobar";" ";"\n\r";"😂";/foobar/g;null;true;false;5;2;56;31;
|
||||
5;5;"foobar";" ";"\n\r";"\uD83D\uDE02";`😂`;/foobar/g;null;true;false;5;2;56;31;
|
||||
|
||||
Reference in New Issue
Block a user