Skip to content

Commit

Permalink
Using 'var' instead of 'let' (#14)
Browse files Browse the repository at this point in the history
Fixing failed to compile issue during react build.
  • Loading branch information
anaekin committed Aug 20, 2020
1 parent 9a3236c commit 4675e5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ module.exports = {
var data = obj

while (index < len - 1) {
let part = parts[index]
var part = parts[index]
if (
part === '__proto__' ||
part === 'constructor' ||
Expand Down

0 comments on commit 4675e5f

Please sign in to comment.