JS Test: Fubar
Last modified by Sergiu Dumitriu on 2018/10/10 17:05
(function(foo){
return typeof foo.bar;
})({ foo: { bar: 1 } });
return typeof foo.bar;
})({ foo: { bar: 1 } });
Task: What does the following code return? Why?