the value of bar is bar the value of bar is undefined