Loading homepage
Input: updateObject({count:1}, [{path:["count"],update:n=>n+1},{path:["count"],update:n=>n*3}]) Output: {count:6}
Input: updateObject({}, [{path:["items",2,"name"],update:()=>"Ada"}]) Output: Creates a sparse items array with {name:"Ada"} at index 2.
Implement the exported API in index.js or index.ts using the documented contract.