I want to know what happens when you have two js file in one page with same name. I accidentally put two js files with same name on my page and sometimes both would work, other times just one would work and the other wouldn't. When I load the page, firebug doesn't show any error.
So can anybody tell me exactly what happens in such a case? Not that I want to write a thesis on this but just curious.