function first( arr ) {
	var get;

	if ( arr.length === 0 ) {
		return;
	}
	// Resolve an accessor for retrieving input array elements:
	get = resolveGetter( arr );

	// Return the first element:
	return get( arr, 0 );
}
Returns the first element of an array-like object.

@param {Collection} arr - input array
@returns {*} - first element

@example
var out = first( [ 1, 2, 3 ] );
// returns 1