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