blob: e17b762d2d2c4d5242485a113446d95e5482bcd3 [file] [log] [blame]
function shouldBe(actual, expected) {
if (actual !== expected)
throw new Error('bad value: ' + actual);
}
shouldBe(JSON.stringify(Object.getOwnPropertyNames(Object.getOwnPropertyNames)), `["length","name"]`);