Created
April 2, 2020 15:13
-
-
Save emrekasg/e58310a49736e909ca14e9681dd479b4 to your computer and use it in GitHub Desktop.
Ecmascript detector for Medium
This file contains hidden or 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
function check() { | |
try { eval("var check = (x)=>x+1"); } | |
catch (e) { return false; } | |
return true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment