global var and same locally scoped var is broken
tylermcginnis opened this issue · comments
Tyler McGinnis commented
var name = 'Jake'
function doThing () {
var name = 'Tyler'
name = 'Eyo'
}
doThing()
Tyler McGinnis commented
lol I'm dumb. It's works like it's supposed to.