JavaScript

JavaScript

Made by DeepSource

Syntax error JS-0833

Bug risk
Minor

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
}

Recommended

const mult = (x, y) => {
  return x * y
}