MCPcopy Create free account
hub / github.com/breck7/scroll / _zipObject

Method _zipObject

external/.scrollLibs.js:17774–17778  ·  view source on GitHub ↗
(keys, values)

Source from the content-addressed store, hash-verified

17772 }
17773 }
17774 static _zipObject(keys, values) {
17775 const obj = {}
17776 keys.forEach((key, index) => (obj[key] = values[index]))
17777 return obj
17778 }
17779 static fromShape(shapeArr, rootParticle = new Particle()) {
17780 const part = shapeArr.shift()
17781 if (part !== undefined) {

Callers 1

fromDataTableMethod · 0.95

Calls 1

forEachMethod · 0.80

Tested by

no test coverage detected