Source code
Revision control
Copy as Markdown
Other Tools
/**
* Any copyright is dedicated to the Public Domain.
*/
const Assert = {
ok(value, message) {
postMessage({
op: "ok",
value: !!value,
message,
});
},
equal(a, b, message) {
postMessage({
op: "is",
a,
b,
message,
});
},
};