MCPcopy Create free account
hub / github.com/PageLeay/celestial-runtime / _arrayLikeToArray$1

Function _arrayLikeToArray$1

misc/test-browser/mocha.js:7158–7158  ·  view source on GitHub ↗
(arr, len)

Source from the content-addressed store, hash-verified

7156 function _arrayWithoutHoles$1(arr) { if (Array.isArray(arr)) return _arrayLikeToArray$1(arr); }
7157
7158 function _arrayLikeToArray$1(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
7159
7160 /*istanbul ignore end*/
7161 function structuredPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options) {

Callers 2

_arrayWithoutHoles$1Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected