adrianmay / rhaboo

Persistent JavaScript Objecs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

References instead of full copies

adrianmay opened this issue · comments

If some ordinary object is written to two places in a persistent, there'll be two sets of localStorage entries but only one object in memory: the original one; with two references to it in the persistent. This leads to strange results and calls for some brainstorming.