typescript 2 question mark operator code example
Example: typescript double question mark
A = A ?? B;
//it is the same as
if( null != A )
A = A;
else
A = B;
A = A ?? B;
//it is the same as
if( null != A )
A = A;
else
A = B;