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