blob: d8e181d7443aec3fffe4bfc82f607b4a8c344630 [file] [log] [blame]
let testVariable = "worker thread 1";
onmessage = function(event) {
if (event.data === "doWork")
setTimeout(workInThread1, 0)
}
function workInThread1() {
foo();
}
function foo() {
debugger;
}