Cannot read property of undefined
Occurs when trying to access a property or method on an undefined or null value.
Add null/undefined checks before accessing properties. Use optional chaining (?.) or provide default values.