Would be good to enclose any code that has reference to localStorage in a try-catch block in case some browser misbehaves in its private browsing mode, e.g. previous versions of Safari.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Would be good to enclose any code that has reference to
localStorage
in a try-catch block in case some browser misbehaves in its private browsing mode, e.g. previous versions of Safari.