more notes...

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

View File

@ -136,6 +136,7 @@ function(obj, handlers=module.HANDLERS){
// XXX need a way to index the path... // XXX need a way to index the path...
// ...and to filter paths by pattern... // ...and to filter paths by pattern...
// XXX need to generate object UIDs for use in paths etc...
var handle = var handle =
module.handle = module.handle =
function*(obj, path=[], options={}){ function*(obj, path=[], options={}){
@ -236,7 +237,8 @@ var o = {
}, },
array_with_attrs: Object.assign( array_with_attrs: Object.assign(
[1, 2, 3], // XXX should empty slots be marked in arrays???
[1, 2, 3, , 5, 6],
{ {
a: "some value", a: "some value",
// will overwrite 2... // will overwrite 2...