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