Skip to content

Commit ef32be5

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

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
@@ -50,7 +50,7 @@ function parse (text, reviver, options) {
5050
return obj
5151
}
5252

53-
function scan (obj, options = {}) {
53+
function scan (obj, { protoAction = 'error', constructorAction = 'error' } = {}) {
5454
const protoAction = options.protoAction || 'error'
5555
const constructorAction = options.constructorAction || 'error'
5656

0 commit comments

Comments
 (0)