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 fcf853f commit 5e04a16Copy full SHA for 5e04a16
index.js
@@ -35,7 +35,7 @@ function parse (text, reviver, options) {
35
return obj
36
}
37
} else if (protoAction !== 'ignore' && constructorAction === 'ignore') {
38
- if (!text.match(suspectProtoRx)) {
+ if (suspectProtoRx.test(text) === false) {
39
40
41
} else {
0 commit comments