* Merge an Array of Objects into a single Object.
(arr)
| 181 | * Merge an Array of Objects into a single Object. |
| 182 | */ |
| 183 | function toObject (arr) { |
| 184 | var res = {}; |
| 185 | for (var i = 0; i < arr.length; i++) { |
| 186 | if (arr[i]) { |
| 187 | extend(res, arr[i]); |
| 188 | } |
| 189 | } |
| 190 | return res |
| 191 | } |
| 192 | |
| 193 | /** |
| 194 | * Perform no operation. |
no test coverage detected