committed by
Mrugesh Mohapatra
parent
f6999fa8bb
commit
8538141600
@ -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}
|
||||
`);
|
||||
|
Reference in New Issue
Block a user