code: function(location) {
  		switch (location) {
  			case Y.StorageManager.LOCATION_LOCAL:
  			case Y.StorageManager.LOCATION_SESSION:
  				return location;
  
  			default: return Y.StorageManager.LOCATION_SESSION;
  		}
  	}
docs: internal shorthand