1 TypeError: func is not a function
   2 TypeError: obj.foo is not a function
   3 TypeError: func is not a function