
console.log("Hello from worker");

addEventListener('message', function (e) {
  var msg = e.data;
  if (msg.type === 'ping') {
    postMessage({
      type: 'pong',
      text: 'Hi from worker'
    });
  }
});

@@ -25,16 +25,22 @@
  worker%22
+, this
 );%0A%0AaddE

add extra logging in worker