Skip to content

Commit 4675e5f

Browse files
authored
Using 'var' instead of 'let' (#14)
Fixing failed to compile issue during react build.
1 parent 9a3236c commit 4675e5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ module.exports = {
5252
var data = obj
5353

5454
while (index < len - 1) {
55-
let part = parts[index]
55+
var part = parts[index]
5656
if (
5757
part === '__proto__' ||
5858
part === 'constructor' ||

0 commit comments

Comments
 (0)