Sign in
webkit
/
WebKit
/
cc46a31572a0ec5eaa1b23568b13d1176f22f6cb
/
.
/
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
());
});