What are x and y values after the invocation of foo()?
<pre><code>var x = 'hello';
var x = 'world';

function foo(){
    var y = x = 'hello from foo';
}
foo();
</code></pre>

<p>Is it x = 'hello from foo', y = 'hello from foo'?</p>
