code: function updateKeys() {
        keys = [];
  
        for (var key in items) {
          keys.push(key);
        }
  
        LocalStorage.length = keys.length;
      }
docs: Gets the keys names and updates LocalStorage.length property. Since IE7 doesn't have any getters/setters.