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