does anyone know how to load the js external file from javascript?

i tried it on google to find the working one but none of them are working.

please help!!!!