Sign in
webkit
/
WebKit
/
c70b37a6ab650230cb78b0a9021c262059cf20b2
/
.
/
PerformanceTests
/
SixSpeed
/
tests
/
new-target
/
defaults.es5
blob: 3d7cab7ffe26b96f26824271d1aca45961f5987c [
file
] [
log
] [
blame
]
function
Fn
()
{
return
!!(
this
&&
this
.
constructor
===
Fn
);
}
assertEqual
(
typeof
Fn
(),
'boolean'
);
assertEqual
(
typeof
(
new
Fn
()),
'object'
);
test
(
function
()
{
return
(
Fn
()
||
new
Fn
());
});