标签:
localStorage.aa="aa"; //存储了一个key为aa并且value为aa的键值对; localStorage.clear(); //将localStorage存储的所有键值对清除; localStorage.removeItem("aa"); //将aa为Key的值删除; localStorage.length; //返回所有的键值对的个数; localStorage.key(n); //返回第n个键值对的键;
标签:
原文地址:http://www.cnblogs.com/zzq-include/p/4308650.html