Are global variables and variables in global scope different? Please see the code below or the JSfiddle implementation - <http://jsfiddle.net/2ngj9rqa/>.

```
a = 10;
var b = 20;

function x() {
a = 20;
}

alert(window.a);
alert(window.b);

```