Skip to content

Instantly share code, notes, and snippets.

@afkvido
Created March 1, 2023 23:17
Show Gist options
  • Save afkvido/4387f2409ae01a93050f9a8b992565d8 to your computer and use it in GitHub Desktop.
Save afkvido/4387f2409ae01a93050f9a8b992565d8 to your computer and use it in GitHub Desktop.
Ensures that the webpage has all JavaScript standard library features, and loads them if it doesn't. (using core-js)
(async()=>{eval(await(await fetch("https://cdn.jsdelivr.net/npm/core-js-bundle/minified.min.js")).text())})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment