JavaScript Review

  • Single Responsibility
    • Is the method/class responsible for one thing?
  • Data Structures
    • Can the data structure represent illegal states? Why?

  • Use Map instead of Object if possible!

Backlinks