blob: 1bf93ceb762ccd4aa6b57dfd8884dfb64924e426 [file] [log] [blame]
function shouldBe(actual, expected) {
if (actual !== expected)
throw new Error('bad value: ' + actual);
}
class A extends Function {}
shouldBe(new A("'use strict';").hasOwnProperty('arguments'), false);
shouldBe(new A().hasOwnProperty('arguments'), false);