Let's say I'm calling local storage, for example:
window.localStorage.setItem("key", bigJsonObject);
And right after that, the user closes his web browser. What will be the result
window.localStorage.getItem("key")
Will bigJsonObject be partially written? Or will lose the whole record? Their way to guarantee that there will be no partial recording?
source share