function chunks(chunkWidth) {
			var result = Array(ceil(this.length / chunkWidth)).fill(undefined).map(function (_) {
				return [];
			});
			this.forEach(function (item, index) {
				result[floor(index / chunkWidth)][index % chunkWidth] = item;
			});
			return result;
		}
/**
   * Gets the chunks of an array, where chunks are sections of the array with a constant width.
   * @param {number} chunkWidth The width of the chunks.
   * @returns {Array.<Array>} The chunks of the array.
   * @memberof XtraUtils.Array#
   */
Gets the chunks of an array, where chunks are sections of the array with a constant width.
@param {number} chunkWidth The width of the chunks.
@returns {Array.} The chunks of the array.
Gets the chunks of an array where chunks are sections of the array with a constant width . @param { number } chunkWidth The width of the chunks . @returns { Array . } The chunks of the array .
function chunks(chunkWidth) {
			var result = Array(ceil(this.length / chunkWidth)).fill(undefined).map(function (_) {
				return [];
			});
			this.forEach(function (item, index) {
				result[floor(index / chunkWidth)][index % chunkWidth] = item;
			});
			return result;
		}
function chunks ( chunkWidth ) { var result = Array ( ceil ( this . length / chunkWidth ) ) . fill ( undefined ) . map ( function ( _ ) { return [ ] ; } ) ; this . forEach ( function ( item , index ) { result [ floor ( index / chunkWidth ) ] [ index % chunkWidth ] = item ; } ) ; return result ; }
Gets the chunks of an array, where chunks are sections of the array with a constant width.
Gets the chunks of an array where chunks are sections of the array with a constant width .