• function keyword is non-standard. Use foo() instead of function foo.
  • Problematic code:
  • Correct code:
  • Rationale:
  • Exceptions:
  • Related resources: