1 TypeError: Cannot call "func" that has undefined value
2 TypeError: Cannot call "foo" that has undefined value
3 TypeError: Cannot call "func" that has undefined value