When Y is passed in as the value of B for a call to FUNC, it's passed by VALUE rather than REFERENCE. So when we change the local value B in line 8, the global value of Y is unaffected. After the call to FUNC, Y is still 3.