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