index.js
function getArrayOfHoles(length) {
  var holyLen = HOLY_ARRAY.length;
  if (length > holyLen) {
    HOLY_ARRAY.length = length;
    for (var i = holyLen; i < length; ++i) {
      HOLY_ARRAY[i] = ARRAY_HOLE_INDEX;
    }
  }

  return HOLY_ARRAY.slice(0, length);
}
function getArrayOfHoles(length) {
  var holyLen = HOLY_ARRAY.length;
  if (length > holyLen) {
    HOLY_ARRAY.length = length;
    for (var i = holyLen; i < length; ++i) {
      HOLY_ARRAY[i] = ARRAY_HOLE_INDEX;
    }
  }

  return HOLY_ARRAY.slice(0, length);
}
function getArrayOfHoles ( length ) { var holyLen = HOLY_ARRAY . length ; if ( length > holyLen ) { HOLY_ARRAY . length = length ; for ( var i = holyLen ; i < length ; ++ i ) { HOLY_ARRAY [ i ] = ARRAY_HOLE_INDEX ; } } return HOLY_ARRAY . slice ( 0 , length ) ; }
Returns an array of the given length filled with ARRAY_HOLE_INDEX.
Returns an array of the given length filled with ARRAY_HOLE_INDEX .