by chrisrhoden · 13y ago · 0 comments
1. DI.
2. Clear separation of concerns.
I believe that writing testable Javascript has been possible since the name Javascript was invented. Angular.js has made it easier by doing its best to force you to write testable code.