Skip to content

Instantly share code, notes, and snippets.

@goofmint
Created January 19, 2018 10:00
Show Gist options
  • Save goofmint/38c23a4ee5e9dd9eb170c6b6380686bd to your computer and use it in GitHub Desktop.
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