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 ef32be5 commit 4fc1c32Copy full SHA for 4fc1c32
index.js
@@ -54,7 +54,7 @@ function scan (obj, { protoAction = 'error', constructorAction = 'error' } = {})
54
const protoAction = options.protoAction || 'error'
55
const constructorAction = options.constructorAction || 'error'
56
57
- var next = [obj]
+ let next = [obj]
58
59
while (next.length) {
60
const nodes = next
0 commit comments