Last active
March 6, 2020 02:40
-
-
Save ara-ta3/c979749ed0c220d7f69abd801834bf34 to your computer and use it in GitHub Desktop.
This file contains 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(w) { | |
w.addEventListener('error', (e) => { | |
console.log("onerror~"); | |
console.log(e); | |
}); | |
const err = () => { | |
setTimeout(function() { | |
throw new Error("hogeeeee"); | |
}, 0); | |
}; | |
err(); | |
})(window); |
This file contains 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
<?php header("Access-Control-Allow-Origin", "*"); ?> | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title></title> | |
<script type="text/javascript" defer src="app.js" crossorigin></script> | |
</head> | |
<body> | |
It works !! php !! | |
</body> | |
</html> |
This file contains 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
port=8081 | |
server: | |
php -S localhost:$(port) -t . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment