Open Hax0rG1rl opened 6 years ago
I hope by now you would have got the solution If not change if (node2.argument.name != undefined) to if (node2.argument!=undefined & node2.argument.name != undefined)
Reason : By the error msg its simple that when traversing through AST there are cases where the node may have a null argument. Since we are trying for name object it is throwing error.
Hi there,
Trying to check a simple JS file I got this error:
Any ideas how to solve this?
Regards.