We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 517e756 commit ed3e868Copy full SHA for ed3e868
lib/utils/group-helper.js
@@ -20,7 +20,7 @@ class GroupHelper {
20
});
21
}
22
mergeRecursive(acc, curr) {
23
- for (var p in curr) {
+ for (const p in curr) {
24
try {
25
// Property in destination object set; update its value.
26
if (curr[p].constructor == Object) {
@@ -40,7 +40,7 @@ class GroupHelper {
40
if (!arr) {
41
return;
42
43
- var result = {};
+ const result = {};
44
let arrLength = arr.length;
45
for (let i = 0; i < arrLength; i++) {
46
let key = Object.keys(arr[i])[0];
0 commit comments