function oneTo( n ) {
	var arr;
	var i;

	arr = [];
	if ( n <= 0 ) {
		return arr;
	}
	for ( i = 1; i < n+1; i++ ) {
		arr.push( i );
	}
	return arr;
}
Generates a linearly spaced numeric array whose elements increment by 1 starting from one.

@param {number} n - number of elements
@returns {Array<number>} linearly spaced numeric array

@example
var arr = oneTo( 6 );
// returns [ 1, 2, 3, 4, 5, 6 ]