Source code
Revision control
Copy as Markdown
Other Tools
try {
evalInWorker("evalInWorker('evalInWorker(\"assertEq(1, 1)\")')");
} catch(e) {
assertEq(e.toString().includes("--no-threads"), true);
}
try {
evalInWorker("evalInWorker('evalInWorker(\"assertEq(1, 1)\")')");
} catch(e) {
assertEq(e.toString().includes("--no-threads"), true);
}