4 ms·
Which is a function.
by exdsq 6y ago
Which is a function.
- JoeNr76 6y agoIt might start out as a function, then become a factory, then an object and if you bind your test to the implementation details of this code, you will have to rewrite your test every time you refactor your code. Not ideal.