ImmortalDB
ImmortalDB copied to clipboard
Make get function work with undefined values properly
Make get function return the second value if the most common value is undefined
@Sajma27 Did you mean to close this PR?
You can open it back. I wanted to use your library, but there is a problem with empty storage, I think it should not be considered or chosen if there is a majority of it. For example, if user delete cookies and local storage, you are not able to retrieve data only from indexedDB using your library, my small change solved the problem.