Javascript best practices

Functions

  • Arrow function
    • Cannot use a constructor. An arrow function is not called with ‘new.’
    • Does not use ‘this’. (add content)
    • It uses less characters.
  • Basic Function
    • It can use a constructor.
    • It can use ‘this’. (add content)