code-to-graph icon indicating copy to clipboard operation
code-to-graph copied to clipboard

Error when code variables are initialized without value;

Open carlosrberto opened this issue 6 years ago • 0 comments

Great project @crubier! 👏 I found one issue when code has variables declared without value, for example:

const myFunction = (x) => {
  let y;
}

Will return the following error:

Cannot read property 'type' of null

carlosrberto avatar Jan 18 '19 22:01 carlosrberto