Skip to content

Instantly share code, notes, and snippets.

@t3ntxcl3s
t3ntxcl3s / test.js
Created October 9, 2020 14:09
the best tester for functions))) JS
function test(props){
try{
props()
} catch(e){
return window.location.href = 'http://stackoverflow.com/search?q=[javascript]+' + e.message
}
}
export default test;