vault-developer / event-loop-explorer

Event Loop Explorer: visualise javascript code execution in a browser environment
https://vault-developer.github.io/event-loop-explorer/
MIT License
25 stars 9 forks source link

Implement VariableDeclaration node #13

Open vault-developer opened 5 hours ago

vault-developer commented 5 hours ago

Currently, if we run this code in the editor

const a = 3;  
console.log(a); 

The error will be thrown: image

This happens because the logic for managing the VariableDeclaration node has not yet been implemented. We would like to handle this issue.

Please check already implemented nodes for the reference: https://github.com/vault-developer/event-loop-explorer/tree/master/src/utils/nodes

nm723 commented 3 hours ago

Hi! @vault-developer I'd like to work on this issue. Could you please assign it to me?

vault-developer commented 2 hours ago

Hey @nm723, the issue is assigned to you 👍