null-coalescing
Czy istnieje operator" null coalescing " w JavaScript?
Czy istnieje operator koalescencyjny null w Javascript?
Na przykład w C# mogę to zrobić:
String someString = null;
var wha ... ing = null;
var whatIWant = someString ? someString : 'Cookies!';
Co jest w pewnym sensie ohydne IMHO. Stać mnie na więcej?