function concatMap(fn) {
			var _ref;

			return (_ref = []).concat.apply(_ref, _toConsumableArray(this.map(function (item, index) {
				var res = fn(item, index);
				return isArray(res) ? res : [res];
			})));
		}
/**
   * Maps the array and concatenates the results.
   * @param {ArrayCallback} fn The mapper.
   * @returns {Array} The mapped and concatenated result.
   * @memberof XtraUtils.Array#
   */
Maps the array and concatenates the results.
@param {ArrayCallback} fn The mapper.
@returns {Array} The mapped and concatenated result.
Maps the array and concatenates the results . @param { ArrayCallback } fn The mapper . @returns { Array } The mapped and concatenated result .
function concatMap(fn) {
			var _ref;
			return (_ref = []).concat.apply(_ref, _toConsumableArray(this.map(function (item, index) {
				var res = fn(item, index);
				return isArray(res) ? res : [res];
			})));
		}
function concatMap ( fn ) { var _ref ; return ( _ref = [ ] ) . concat . apply ( _ref , _toConsumableArray ( this . map ( function ( item , index ) { var res = fn ( item , index ) ; return isArray ( res ) ? res : [ res ] ; } ) ) ) ; }
Maps the array and concatenates the results.
Maps the array and concatenates the results .