I was recently working on a JS and when I would make changes to the JS it appeared they would no tbe implemented, although the changes were made to the script and the script uploaded to my website.

What appears to have happened is that when I was going to my website to test the script it was actually still reading from the previous script before the changes were made.

I tried deleting my temp files and cookies to no avail.
My question is how do you correctly purge out the previous js file

I spent hours thinking my code was wrong when in fact it was correct.

Thanks