I have recently converted 10 JavaScript files into one file, which I then run a JavaScript compiler on. I just had a bug where I had reused a function name.

Is there a tool to check for duplicate rows/function names in the combined file?

Or should I create a little program?