3 ms·
> But the decision to avoid actually writing javascript at all costs Who's JavaScript is it anyway? ES7? ES6? Internet Explorer 11's? How do you isolate things
by zachrose 5y ago
> But the decision to avoid actually writing javascript at all costs
Who's JavaScript is it anyway? ES7? ES6? Internet Explorer 11's? How do you isolate things for the sake of unit tests and then bring them together into a performant build?
- krapp 5y ago>Who's JavaScript is it anyway? ES7? ES6? Internet Explorer 11's? Cross-browser compatible Javascript was a solved problem when JQuery and shimming came along. >How do you isolate things for the sake of unit tests and then bring them together into a performant build? Use one of the many unit testing libraries and frameworks that already exist for Javascript.