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