blob: 1f14ea00c74b0f22b0f4ecc95a0898d8d449a38c [file] [log] [blame]
function shouldBe(actual, expected) {
if (actual !== expected)
throw new Error('bad value: ' + actual);
}
shouldBe(typeof Reflect, "object");
shouldBe(Reflect, Reflect);
shouldBe(Object.getPrototypeOf(Reflect), Object.getPrototypeOf({}));
shouldBe(Reflect.toString(), "[object Object]");