Author: Neelam Lakra

Safe Navigation Operator

Usage of “?.” in Angular

In some code snippets, you may have seen that Angular expressions have a question mark after them. Angular refers to it as ‘Safe Navigation Operator’.It makes sure that we are not seeing null and undefined values in our application when we want to access properties of an object. “Safe Navigation Operator” can be used to prevent Angular from throwing errors, when trying to access object Continue Reading

%d bloggers like this: