let arra = {
"aaa":"",
"bbb":"",
"ccc":""
}
let arrb = {
"aaa":"111",
"bbb":"222",
"ccc":"333",
"ddd":"444",
"eee":"555"
}
listAssign(arra,arrb)
after executing listAssign, arra becomes
arra = {
"aaa":"111",
"bbb":"222",
"ccc":"333"
}
that is, using B object to assign a value to An object
I would like to ask: how should this listAssign be implemented?