Skip to content

Adds safety feature to set method.#32

Open
efdotjay wants to merge 1 commit intobevacqua:masterfrom
efdotjay:safety-feature/smart-set-method
Open

Adds safety feature to set method.#32
efdotjay wants to merge 1 commit intobevacqua:masterfrom
efdotjay:safety-feature/smart-set-method

Conversation

@efdotjay
Copy link
Copy Markdown

localStorate sets null and undefined values as strings "null" and "undefined". Therefore set method should smartly remove item in this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant