fix: grammar

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
pull/44035/head
Oliver Eyton-Williams 2021-10-27 16:34:37 +02:00 committed by Mrugesh Mohapatra
parent f6999fa8bb
commit 8538141600
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ function extractComments(js) {
try {
parser.parse(js, { onComment: comments, ecmaVersion: 2020 });
} catch {
throw Error(`extract-js-comments could not parse the code below, this challenge have invalid syntax:
throw Error(`extract-js-comments could not parse the code below, this challenge has invalid syntax:
${js}
`);