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