Null coalescing operator in Angular

Discussão em 'Angular' iniciado por user2526236, Novembro 12, 2024.

  1. user2526236

    user2526236 Guest

    What is the equivalent of null coalescing operator ?? in Angular?

    In C# we can perform this operation:

    string str = name
    ?? FirstName
    ?? "First Name is null";

    Continue reading...

Compartilhe esta Página