```js function f() {} f.p = { x: "" }; const p = f.p; if (1 + 1 < 2) { f.p = { x: 0 }; } f.p.x = 0; p.x.toUpperCase(); // No compile error, crash at runtime ``` **Expected behavior:** Error on `p.x.toUpperCase()` **Actual behavior:** No error.