1 true 2 TypeError: Cannot get property "foo" of null 3 true 4 TypeError: Cannot get property "foo" of null 5 true 6 TypeError: Cannot set property "foo" of null 7 true 8 TypeError: Cannot set property "foo" of null 9 true 10 TypeError: null has no such function "foo" 11 true 12 TypeError: null is not a function