Say I have two pages and each of them have their own js file, one of the pages needs some of the functions (maybe just one) that are on the other page's js file.
I'd rather not copy the same functions over. I could include both js files to that page, but is this the right way? Is there another way?