var x=3; var foo={ x:2, baz:{ x:1, bar:function(){ return this.x; } } } var go=foo.baz.bar; alert(go()); alert(foo.baz.bar()); What is the order of values alerted?

Back to Questions
A)

1,2

B)

2,1

C)

1,3

D)

3.1

 

Author Explanation :

.


© Copyright 1997 - 2019 | www.bestdotnettraining.com | www.deccansoft.com | All Rights Reserved.
 
Bestdotnet google plus
Enquiry Now