Open this example in the interactive library
Source code
import assert from "node:assert/strict";
console.log((assert.equal(2 + 2, 4), "passed"));
Sample output
passed

Open this example in the interactive library
import assert from "node:assert/strict";
console.log((assert.equal(2 + 2, 4), "passed"));
passed