JavaScript / nodejs [JavaScript] Nullish coalescing assignment (??=) December 14, 2023 December 14, 2023 ??=, JavaScript, nodejs, Nullish coalescing assignment https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing_assignment const a = { duration: 50 }; a.duration ??= 10; a.speed ??= 25; console.log(a.duration); // Expected output: 50 console.log(a.speed); // Expected output: 25 Replacement for: a.duration = a.duration ?? 10 [Fiori Elements] Custom Column in a Table is not visible [SuccessFactors] Process Trigger Leave a Reply Cancel replyYour email address will not be published. Required fields are marked *CommentName* Email* Website Save my name, email, and site URL in my browser for next time I post a comment.