1 2 3 4 5
try { evalInWorker("evalInWorker('evalInWorker(\"assertEq(1, 1)\")')"); } catch(e) { assertEq(e.toString().includes("--no-threads"), true); }