Skip to content

delete $localStorage.storageName not working #277

Description

@rabin-naga

delete $localStorage.storageName clears the localStorage
but when we add a new value the old values are still there.

where as localStorage.removeItem('storageName') resets the localStorage to blank/null ie storageName = [];

How can I use delete $localStorage.storageName to reset the localStorage to blank?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions