3 ms·
Don’t forget the nullish coalescing operator, ??, which is probably nicer than using || here. https://www.typescriptlang.org/docs/handbook/release-notes/typesc
by gmac 5y ago
Don’t forget the nullish coalescing operator, ??, which is probably nicer than using || here.
https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html https://www.typescriptlang.org/docs/handbook/release-notes/t...
- lobstrosity420 5y agoYou're right, that is a much better choice for this situation!