Loading homepage
Input: const s=new Spreadsheet(); s.set("B1","=A1+2"); s.get("B1"); s.set("A1",5); s.get("B1"); Output: 2, then 7 after invalidating the dependent cache.
Input: s.set("A1","=B1+1") Output: Throws RangeError and retains the previous A1 value because B1 already depends on A1.
Implement the exported API in index.js or index.ts using the documented contract.