Skip to content

Commit

Permalink
Merge ab0e678 into 99d9d30
Browse files Browse the repository at this point in the history
  • Loading branch information
pravinkumart committed Mar 1, 2018
2 parents 99d9d30 + ab0e678 commit eab5139
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -112,7 +112,7 @@
return currentValue;
}

if (currentValue === void 0) {
if (!currentValue) {
//check if we assume an array
if(typeof path[1] === 'number') {
obj[currentPath] = [];
Expand Down

0 comments on commit eab5139

Please sign in to comment.