Looking to remove comments from a large amount of javascript files
问题 Here is my dilemna: I am a noob (currently interning and helping to maintain two e-commerce sites) at javascript. I was recently assigned to remove all the comments that occur in our javascript libraries (which is over 25,000 comments!). Obviously I want to find a function or some pre-existing program that can parse through the code, removing all characters following // or */... I have looked into some minifiers available online such as Yui, jscompressor.com, and uglifyJS that would make this