MCPcopy
hub / github.com/fanmingming/live / toObject

Function toObject

m3u8/vue.js:251–259  ·  view source on GitHub ↗

* Merge an Array of Objects into a single Object.

(arr)

Source from the content-addressed store, hash-verified

249 * Merge an Array of Objects into a single Object.
250 */
251 function toObject (arr) {
252 var res = {};
253 for (var i = 0; i < arr.length; i++) {
254 if (arr[i]) {
255 extend(res, arr[i]);
256 }
257 }
258 return res
259 }
260
261 /* eslint-disable no-unused-vars */
262

Callers 2

bindObjectPropsFunction · 0.85
normalizeStyleBindingFunction · 0.85

Calls 1

extendFunction · 0.85

Tested by

no test coverage detected