In this example, the var statement isn't used to define the variable sMyFirstName, so it is created as a variable at the window scope. This is proved because the second function can also access the variable and display it in an alert.