Sign in
webkit
/
WebKit
/
6fd57f0545e2ab789319dc828ca2e5959d39c256
/
.
/
JSTests
/
es6
/
Object_static_methods_Object.assign.js
blob: 612667a99899ef0e2f65823ac9673f306e6ef3c2 [
file
] [
log
] [
blame
]
function
test
()
{
var
o
=
Object
.
assign
({
a
:
true
},
{
b
:
true
},
{
c
:
true
});
return
"a"
in o
&&
"b"
in o
&&
"c"
in o
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);