`??=` is being merged into the Logical Assignment Operator proposal, and the overall proposal will wait until nullish coalescing is finalized.
3 lines
22 B
JavaScript
3 lines
22 B
JavaScript
a ??= b;
|
|
obj.a ??= b;
|