This commit is contained in:
Yunfei He 2021-06-16 10:55:41 +00:00 committed by GitHub
commit b504fee907
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -530,7 +530,7 @@ function tokenizer(input) {
// Finally if we have not matched a character by now, we're going to throw
// an error and completely exit.
throw new TypeError('I dont know what this character is: ' + char);
throw new TypeError('I don\'t know what this character is: ' + char);
}
// Then at the end of our `tokenizer` we simply return the tokens array.