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 5e04a16 commit cc6c1a8Copy full SHA for cc6c1a8
index.js
@@ -39,7 +39,7 @@ function parse (text, reviver, options) {
39
return obj
40
}
41
} else {
42
- if (!text.match(suspectConstructorRx)) {
+ if (suspectConstructorRx.test(text) === false) {
43
44
45
0 commit comments