code: function(obj, key) {
  		var value;
  		for (var i = 2; i < arguments.length; i++) {
  			value = arguments[i];
  			if (value !== undefined) {
  				obj[key] = value;
  				break;
  			}
  		}
  
  		if (value === undefined) delete obj[key];
  
  		return obj;
  	}
docs: setNoUndef(obj, key [,value] [,value] [,value]) sets obj[key] = value, but deleting undefined values