Skip to content

Commit

Permalink
chore: move away from var
Browse files Browse the repository at this point in the history
  • Loading branch information
sendilkumarn committed Oct 22, 2019
1 parent 517e756 commit ed3e868
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/utils/group-helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class GroupHelper {
});
}
mergeRecursive(acc, curr) {
for (var p in curr) {
for (const p in curr) {
try {
// Property in destination object set; update its value.
if (curr[p].constructor == Object) {
Expand All @@ -40,7 +40,7 @@ class GroupHelper {
if (!arr) {
return;
}
var result = {};
const result = {};
let arrLength = arr.length;
for (let i = 0; i < arrLength; i++) {
let key = Object.keys(arr[i])[0];
Expand Down

0 comments on commit ed3e868

Please sign in to comment.