Sha256: fc4429d7cd9b2b241877d0f28c746a7475341126077c4c165cfe78806a266d2f

Contents?: true

Size: 437 Bytes

Versions: 453

Compression:

Stored size: 437 Bytes

Contents

/**
 * Appends the elements of `values` to `array`.
 *
 * @private
 * @param {Array} array The array to modify.
 * @param {Array} values The values to append.
 * @returns {Array} Returns `array`.
 */
function arrayPush(array, values) {
  var index = -1,
      length = values.length,
      offset = array.length;

  while (++index < length) {
    array[offset + index] = values[index];
  }
  return array;
}

module.exports = arrayPush;

Version data entries

453 entries across 351 versions & 37 rubygems

Version Path
clapton-0.0.19 lib/clapton/javascripts/node_modules/lodash/_arrayPush.js
clapton-0.0.18 lib/clapton/javascripts/node_modules/lodash/_arrayPush.js
clapton-0.0.17 lib/clapton/javascripts/node_modules/lodash/_arrayPush.js
clapton-0.0.16 lib/clapton/javascripts/node_modules/lodash/_arrayPush.js
clapton-0.0.15 lib/clapton/javascripts/node_modules/lodash/_arrayPush.js
immosquare-cleaner-0.1.49 node_modules/lodash/_arrayPush.js
clapton-0.0.14 lib/clapton/javascripts/node_modules/lodash/_arrayPush.js
immosquare-cleaner-0.1.48 node_modules/lodash/_arrayPush.js
clapton-0.0.13 lib/clapton/javascripts/node_modules/lodash/_arrayPush.js
clapton-0.0.12 lib/clapton/javascripts/node_modules/lodash/_arrayPush.js
clapton-0.0.11 lib/clapton/javascripts/node_modules/lodash/_arrayPush.js
clapton-0.0.10 lib/clapton/javascripts/node_modules/lodash/_arrayPush.js
clapton-0.0.9 lib/clapton/javascripts/node_modules/lodash/_arrayPush.js
clapton-0.0.8 lib/clapton/javascripts/node_modules/lodash/_arrayPush.js
clapton-0.0.7 lib/clapton/javascripts/node_modules/lodash/_arrayPush.js
clapton-0.0.6 lib/clapton/javascripts/node_modules/lodash/_arrayPush.js
clapton-0.0.5 lib/clapton/javascripts/node_modules/lodash/_arrayPush.js
clapton-0.0.4 lib/clapton/javascripts/node_modules/lodash/_arrayPush.js
clapton-0.0.3 lib/clapton/javascripts/node_modules/lodash/_arrayPush.js
clapton-0.0.2 lib/clapton/javascripts/node_modules/lodash/_arrayPush.js