tylermcginnis / javascriptvisualizer

A tool for visualizing Execution Context, Hoisting, Closures, and Scopes in JavaScript.

Home Page:https://tylermcginnis.com/javascript-visualizer/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multiple closures not being represented correctly

mikedloss opened this issue · comments

Here's a link to an example

The code runs and returns the correct result, but the resulting display for the closure scope seems to be off. Step through and notice how it nests closure scopes, and the value of x inside of the closure scope changes.