blob: a5ffc7c1414018f4ad6bcc497e32bb5243a9f3a4 [file] [log] [blame]
function shouldBe(actual, expected) {
if (actual !== expected)
throw new Error('bad value: ' + actual);
}
shouldBe((new Date(1969, 8, 26)).toLocaleDateString(), `9/26/1969`);