Why I always get “Uncaught SyntaxError: Unexpected token u ” from Chrome?

来源:互联网 发布:哈尔滨美工培训 编辑:程序博客网 时间:2024/06/06 03:01
Maybe you have something corrupt saved in your local storage from earlier? If you print the string before calling parse(), does it look correct? Based on the error, the localstorage value doesn't have quotes around your `"users" key.
原创粉丝点击