function set( ticks ) {
	/* eslint-disable no-invalid-this */
	var err = isValid( ticks );
	if ( err ) {
		throw err;
	}
	debug( 'Current value: %s.', JSON.stringify( this._ticks ) );

	if ( isNull( ticks ) ) {
		this._ticks = ticks;
	} else {
		this._ticks = ticks.slice();
	}
	debug( 'New Value: %s.', JSON.stringify( this._ticks ) );

	this.emit( CHANGE_EVENT );
}
Sets the axis tick values.

@private
@param {(Array|null)} ticks - tick values
@throws {TypeError} must be an array or null