Created
January 19, 2018 09:59
-
-
Save goofmint/10da784bfb6a45b6cb239e8bd6066b26 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
const code = ` | |
onmessage = (e) => { | |
setTimeout(() => { | |
postMessage('Workerからの返信です。' + e.data); | |
}, 2000); | |
} | |
`; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment