Created
October 9, 2020 14:09
-
-
Save t3ntxcl3s/5eef266d60974606ec6178d090732fd0 to your computer and use it in GitHub Desktop.
the best tester for functions))) JS
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 test(props){ | |
try{ | |
props() | |
} catch(e){ | |
return window.location.href = 'http://stackoverflow.com/search?q=[javascript]+' + e.message | |
} | |
} | |
export default test; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment