Complete the code to safely access the name property of user.
<p>{{ user[1]name }}</p>The safe navigation operator ?. prevents errors if user is null or undefined.
Complete the code to safely call the getAddress() method on customer.
<p>{{ customer[1]getAddress() }}</p>customer is null.The safe navigation operator ?. safely calls the method only if customer is not null.
Fix the error in safely accessing profile.email when profile might be null.
<p>{{ profile[1]email }}</p>profile is null.Using ?. prevents errors if profile is null by safely accessing email.
Fill both blanks to safely access order.details.price when order or details might be null.
<p>{{ order[1]details[2]price }}</p>Using ?. twice safely accesses nested properties even if order or details is null.
Fill all three blanks to safely access data.user.profile.email when any object might be null.
<p>{{ data[1]user[2]profile[3]email }}</p>Using the safe navigation operator ?. at each step prevents errors if any object is null.