JavaScript logoJavaScript/
JS-0833

Syntax errorJS-0833

Minor severityMinor
Bug Risk categoryBug Risk

Found non-compliant syntax. Confirm that there are no syntax errors before committing your code to a version control system.

Bad Practice

// missing `=>` after arrow function parameters
const mult = (x, y) {
  return x * y
}
const mult = (x, y) => {
  return x * y
}