Skip to content

Commit 4fc1c32

Browse files
delvedorwatson
andauthored
Update index.js
Co-Authored-By: Thomas Watson <[email protected]>
1 parent ef32be5 commit 4fc1c32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function scan (obj, { protoAction = 'error', constructorAction = 'error' } = {})
5454
const protoAction = options.protoAction || 'error'
5555
const constructorAction = options.constructorAction || 'error'
5656

57-
var next = [obj]
57+
let next = [obj]
5858

5959
while (next.length) {
6060
const nodes = next

0 commit comments

Comments
 (0)