function storage () {
  try {
    return window.localStorage;
  } catch (e) {
  }
}
Returns `localStorage` if possible.

This is necessary because Safari throws when a user disables
cookies or `localStorage` and you attempt to access it.

@returns {localStorage}
@api private