Function
patchCubeArray
(allocatedSize, empty, cubes)
Source from the content-addressed store, hash-verified
| 146743 | exports.patchCubeArray = patchCubeArray; |
| 146744 | |
| 146745 | function patchCubeArray(allocatedSize, empty, cubes) { |
| 146746 | const patched = new Array(allocatedSize); |
| 146747 | patched.fill(empty); |
| 146748 | cubes.forEach(cube => patched[cube.ordinal] = cube); |
| 146749 | return patched; |
| 146750 | } |
| 146751 | },{}],"aZir":[function(require,module,exports) { |
| 146752 | "use strict"; |
| 146753 | |
Callers
nothing calls this directly
Tested by
no test coverage detected