You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's generally not possible to store other types, such as Function, Date, RegExp, Set, Map, ArrayBuffer, and so on. Some of these unsupported types will restore as an empty object, and some cause set() to throw an error. The exact behavior here is browser-specific.
The behavior on Firefox, luckily enough, stores Date as strings, but we need to serialize before updating data.
The text was updated successfully, but these errors were encountered:
As documented on the MDN page:
The behavior on Firefox, luckily enough, stores Date as strings, but we need to serialize before updating data.
The text was updated successfully, but these errors were encountered: