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

global var and same locally scoped var is broken

tylermcginnis opened this issue · comments

var name = 'Jake'

function doThing () {
  var name = 'Tyler'

  name = 'Eyo'
}

doThing()

lol I'm dumb. It's works like it's supposed to.