Replace codePointToString with ES6 method
This commit is contained in:
parent
4521204ea0
commit
b593af17a9
@ -402,7 +402,7 @@ export default class Tokenizer extends LocationParser {
|
||||
} else {
|
||||
this.raise(
|
||||
this.state.pos,
|
||||
`Unexpected character '${codePointToString(code)}'`,
|
||||
`Unexpected character '${String.fromCodePoint(code)}'`,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user