1 TypeError: obj.func is not a function
   2 TypeError: arr[0].func is not a function
   3 TypeError: obj.func is not a function
   4 TypeError: arr[0].func is not a function
   5 TypeError: obj.foo is not a function
   6 TypeError: obj.foo is not a function
   7 TypeError: v is not a function
   8 TypeError: v is not a function