Source code

Revision control

Copy as Markdown

Other Tools

"use strict";
this.onmessage = function (event) {
switch (event.data) {
case "ping":
postMessage("pong");
break;
}
};