function Store(name, items) {
    if (!name) {
      throw new Error('Please give the store a name!');
    }

    this.name = name;
    this.items = items || {};
    this.type = 'object';

    this.setType();
    return this;
  }
function Store(name, items) {
    if (!name) {
      throw new Error('Please give the store a name!');
    }

    this.name = name;
    this.items = items || {};
    this.type = 'object';

    this.setType();
    return this;
  }
function Store ( name , items ) { if ( ! name ) { throw new Error ( 'Please give the store a name!' ) ; } this . name = name ; this . items = items || { } ; this . type = 'object' ; this . setType ( ) ; return this ; }
Version 0.1.0 Create Store Objects
Version 0 . 1 . 0 Create Store Objects