Refactoring a large js codebase

I have a legacy code base. There are 5 js files and each js file has 10k loc. And there are no testcases .

Since I'm not a Js expert, I don't know where to start with refactoring the code base. The code base is also tightly integrated with the DOM api calls.

Any ideas would be appreciated

+3


source to share





All Articles