Skip to content

Instantly share code, notes, and snippets.

@goofmint
Created January 19, 2018 10:00
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save goofmint/38c23a4ee5e9dd9eb170c6b6380686bd to your computer and use it in GitHub Desktop.
worker.onmessage = (e) => {
alert(e.data);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment