module.exports = (function store() {
  'use strict';

  function nope() { /* Fallback for when no store is supported */ }

  try {
    sessionStorage.setItem('foo', 'bar');
    if (sessionStorage.getItem('foo') !== 'bar') throw 1;
  } catch (e) {
    var storage = require('window.name')
      , koekje = require('koekje');

    return storage.support ? storage : (koekje.supported ? koekje : {
      length: 0,
      getItem: nope, setItem: nope, removeItem: nope, clear: nope
    });
  }

  return sessionStorage;
}());

module.exports = (function store() {
  'use strict';

  function nope() { /* Fallback for when no store is supported */ }

  try {
    sessionStorage.setItem('foo', 'bar');
    if (sessionStorage.getItem('foo') !== 'bar') throw 1;
  } catch (e) {
    var storage = require('window.name')
      , koekje = require('koekje');

    return storage.supported ? storage : (koekje.supported ? koekje : {
      length: 0,
      getItem: nope, setItem: nope, removeItem: nope, clear: nope
    });
  }

  return sessionStorage;
}());

Use the correct property name