minor tweaks...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2021-05-28 17:12:11 +03:00
parent dd0e002556
commit 191b5ae174

View File

@ -234,6 +234,14 @@ var o = {
object: {
x: {},
},
array_with_attrs: Object.assign(
[1, 2, 3],
{
a: "some value",
// will overwrite 2...
1: 333,
})
}
// loop...
o.object.y = o.object