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