fix: grammar

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
This commit is contained in:
Oliver Eyton-Williams
2021-10-27 16:34:37 +02:00
committed by Mrugesh Mohapatra
parent f6999fa8bb
commit 8538141600

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}
`);