blob: ddf4bcd44713acdb6ffabd445c255e62eeff30d2 [file] [log] [blame]
function Fn() {
return (new.target === Fn);
}
assertEqual(typeof Fn(), 'boolean');
assertEqual(typeof (new Fn()), 'object');
test(function() {
return (Fn() || new Fn());
});