Skip to content

delete $localStorage.storageName not working #277

@rabin-naga

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?

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