I am trying to determine what happens when I write two of the same exact variable names with different values.
var helloWorld = 'Hello';
var helloWorld = 'HelloWorld';
I know the current value is 'HelloWorld' but what happens to the first var helloWorld? Is that just re-assigned? Or is the first case Garbage Collected?