Sign in
webkit
/
WebKit
/
246a932bc3d8d389a5826db666e02a3330ed90e1
/
.
/
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"
);