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