Sign in
webkit
/
WebKit
/
cd096af6c6240b3ceab5d977df03c24b8d5fa8d7
/
.
/
JSTests
/
es6
/
Reflect_Reflect.construct_sets_new.target_meta_property.js
blob: e6990037788ae43c03f5f387375fb9c1d7869601 [
file
] [
log
] [
blame
]
function
test
()
{
return
Reflect
.
construct
(
function
(
a
,
b
,
c
)
{
if
(
new
.
target
===
Object
)
{
this
.
qux
=
a
+
b
+
c
;
}
},
[
"foo"
,
"bar"
,
"baz"
],
Object
).
qux
===
"foobarbaz"
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);