Sign in
webkit
/
WebKit
/
ce715b2200840301c7c831cf986a0bbf5768fb9c
/
.
/
PerformanceTests
/
SixSpeed
/
tests
/
new-target
/
defaults.es6
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
());
});