Wyrd sisters

Javascript common mistakes

by Ty Myrddin

Updated on January 4, 2022

For now, just a list, and we fully expect to make all of these mistakes. We will return to this post whenever we do to update it with examples.

  • Incorrect references to this
  • Assuming a block-level scope
  • Creating (a) memory leak(s)
    • Dangling references to defunct objects
    • Circular references
  • Equality confusion
  • Inefficient DOM manipulation
  • Not using the features of prototypal inheritance

WHERE'S MY COW?! Wyrd Sisters