JS Test: Fubar

Last modified by Sergiu Dumitriu on 2018/10/10 17:05

Task: What does the following code return? Why?

(function(foo){
 return typeof foo.bar;
})({ foo: { bar: 1 } });