This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 1st, 2014  |  syntax: JavaScript  |  size: 0.13 KB  |  views: 1,810  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. /* Check if Web Workers are supported */
  2. function getWebWorkerSupport() {
  3.     return (typeof(Worker) !== "undefined") ? true:false;
  4. }
clone this paste RAW Paste Data