MCPcopy Create free account
hub / github.com/answer19981/MiniHand / arr2ObjectArr

Function arr2ObjectArr

cloudfunctions/mcloud/framework/utils/data_util.js:287–297  ·  view source on GitHub ↗

*简单数组转对象数组 * @param {*} arr [1,2,3] * @param {*} key [x1,x2,x3] * @returns [{x1:1,x2:1,x3:1},{x1:2,x2:2,x3:2},{x1:3,x2:3,x3:3}]

(arr, key1, key2, key3)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected