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