SyntaxError: missing ) after argument list
What went wrong?
There is an error with how a function is called. This might be a typo, a missing operator, or an unescaped string, for example.
log function to be just
"PI: ". In that case, it should be terminated by a closing parenthesis.
console.log('PI: ' Math.PI); // SyntaxError: missing ) after argument list
You can correct the
log call by adding the "
console.log('PI: ' + Math.PI); // "PI: 3.141592653589793"