Question from the AngularJS test

What is the value of the variable 'name' in the following code? ``` var name = 'John'; function myFunction() { console.log(name); } ```