You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever I try to assign null values to expressions the following error is throw:
TypeError: Cannot read property 'toString' of undefined
at generateRegExp (/Projects/Web/escodegen/node_modules/escodegen/escodegen.js:333:22)
at generateExpression (/Projects/Web/escodegen/node_modules/escodegen/escodegen.js:1417:22)
at generateStatement (/Projects/Web/escodegen/node_modules/escodegen/escodegen.js:1675:21)
at Object.generate (/Projects/Web/escodegen/node_modules/escodegen/escodegen.js:2108:22)
at Object.<anonymous> (/Projects/Web/escodegen/sample.js:2:26)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
Whenever I try to assign null values to expressions the following error is throw:
Here's the sample code I'm using:
which is supposed to output:
It seems a PR was opened in 2018 but was never merged (#380)
I'm going to open a new one based of the latest commit.
The text was updated successfully, but these errors were encountered: