in the interview question of one of the three major factories more than half a year ago, the interviewer asked what to do if the capacity was found to exceed when writing localstorage (that is, the general standard of 5m). At that time, he was rather nervous and confused. Now, without the help of other storage conditions, if you want to forcibly write your own data, is it possible to call a localstorage.clear () to clear the user"s other localstorage after an error is detected? Then write your own data (of course, it feels very violent and qj users) and ask for advice. Few people on google and Baidu have mentioned this need.