Source code

Revision control

Copy as Markdown

Other Tools

"use strict";
this.onmessage = function (event) {
switch (event.data) {
case "report":
reportError("reported");
break;
case "throw":
throw new Error("thrown");
}
};