Skip to content

Instantly share code, notes, and snippets.

@milksense
Created January 14, 2021 06:14
Show Gist options
  • Save milksense/27f49c67544fa235b35b67cbf00df474 to your computer and use it in GitHub Desktop.
Save milksense/27f49c67544fa235b35b67cbf00df474 to your computer and use it in GitHub Desktop.
ES6 Capability
const supportsES6=function(){try{return new Function("(a=0)=>a"),!0}catch(n){return!1}}();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment