Hi,

Im learning JavaSCript, but on one exercise i don't get it. This is the exercise:

var gerrit = "Dit is een globale varriabel.";

var globalFunction = function () {
alert(gerrit)
gerrit = "Dit is een wijziging.";
};

globalFunction ();

alert(gerrit)



Now is my question, what will do the globalFunciton (); on the one-last line of code? What is his function?

THanks for helping!

Reckimo