Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • 5
    Maroun Maroun: Check the post again, the author has provided code to programatically check the maximum size of the local storage. This does seem to be a valid answer, and not another question. Commented May 3, 2015 at 7:30
  • Executing this codes throws an "Illegal return statement" error in Chrome, as of time of writing Commented May 14, 2018 at 21:32