don't reset raw of \x escape literals - cc @jmm
This commit is contained in:
parent
437a201315
commit
7fa684b120
@ -10,7 +10,7 @@ export var visitor = {
|
||||
}
|
||||
|
||||
// unicode escape
|
||||
if (typeof node.value === "string" && /\\[ux]/gi.test(node.raw)) {
|
||||
if (typeof node.value === "string" && /\\[u]/gi.test(node.raw)) {
|
||||
node.raw = undefined;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user