code: function pick() {
  	var args = arguments,
  		i,
  		arg,
  		length = args.length;
  	for (i = 0; i < length; i++) {
  		arg = args[i];
  		if (typeof arg !== 'undefined' && arg !== null) {
  			return arg;
  		}
  	}
  }
docs: Return the first value that is defined. Like MooTools' $.pick.