blob: ef6c7329040bb9f9eff7da5dd3502643c588cf9f [file] [log] [blame]
function shouldBe(actual, expected) {
if (actual !== expected)
throw new Error('bad value: ' + actual);
}
let a = (1 || typeof 1) === 'string';
shouldBe(a, false);