Last active
February 22, 2022 21:22
-
-
Save RellikJaeger/1d81aa4275950a93d103524082851886 to your computer and use it in GitHub Desktop.
Include external javascript file using javascript dom. Check this example: https://replit.com/@RellikJaeger/A-way-to-include-external-javascript-files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict';let include=(f)=>document.head.appendChild(document.createElement('script')).src=f; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment