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 c4e9f8e commit 9dcb753Copy full SHA for 9dcb753
src/Analizer.js
@@ -4,7 +4,7 @@ export default function () {
4
Analizer.checkType = function(targetName, code) {
5
let type = null;
6
7
- if (typeof code != "string") return type;
+ if (typeof targetName != "string" || typeof code != "string") return type;
8
9
switch (true) {
10
case !!code.match(new RegExp(`${targetName}\\[[0-9]+\\]`)):
0 commit comments