MCPcopy Create free account
hub / github.com/TruthHun/BookStack / arrayLikeToArrayLike

Function arrayLikeToArrayLike

static/word2md/mammoth.browser.js:14087–14092  ·  view source on GitHub ↗

* Copy the data from an array-like to an other array-like. * @param {Array|ArrayBuffer|Uint8Array|Buffer} arrayFrom the origin array. * @param {Array|ArrayBuffer|Uint8Array|Buffer} arrayTo the destination array which will be mutated. * @return {Array|ArrayBuffer|Uint8Array|Buffer} the updated des

(arrayFrom, arrayTo)

Source from the content-addressed store, hash-verified

14085 * @return {Array|ArrayBuffer|Uint8Array|Buffer} the updated destination array.
14086 */
14087function arrayLikeToArrayLike(arrayFrom, arrayTo) {
14088 for (var i = 0; i < arrayFrom.length; i++) {
14089 arrayTo[i] = arrayFrom[i];
14090 }
14091 return arrayTo;
14092}
14093
14094// a matrix containing functions to transform everything into everything.
14095var transform = {};

Callers 1

mammoth.browser.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected