code: function (storageType) {
              var isStorageType = typeof storageType === 'undefined' ? false : true,
                  key;
  
              if (isStorageType) {
                  webStorage = $window[storageType];
                  for (key in webStorage) removeFromStorage(key, storageType);
              } else {
                  webStorage = $window.sessionStorage;
                  for (key in webStorage) removeFromStorage(key, 'sessionStorage');
                  webStorage = $window.localStorage;
                  for (key in webStorage) removeFromStorage(key, 'localStorage');
              }
              return true;
          }
docs: /*
  Remove all datas from storage
  - storageType: localStorage or sessionStorage