Javascript (ES2020) **Nullish Coalescing_( ?? ) and Optional Chaining ( ?. )Explained Vikrant Bhat on July 04, 2020 Nullish Coalescing operator ( ?? ) It is a logical operator that returns its right-hand side operand when its left-hand side operand is ... Read full post Submit Preview Dismiss Collapse Expand Mykal Mykal Mykal Follow Systems analyst II • Freelance full-stack dev • Homelabber • Blogger • Nerd Location localhost Education BCIS from the University of the Fraser Valley Pronouns he/him/his Work Systems Analyst II @ UFV Joined Sep 14, 2018 • Jul 5 '20 Dropdown menu Copy link Hide Great article going over these new features Vikrant! I've used optional chaining before in ruby but have never used nullish coalescing. The way you explained nullish coalescing was perfect; I totally see how that could be useful. Collapse Expand Vikrant Bhat Vikrant Bhat Vikrant Bhat Follow The irony is, I am a web developer but I am shit scared of spiders.Javascript && React ⚛️ Email vik.bhat223@gmail.com Location Delhi, India Work Frontend Engineer @ Razorpay Joined May 30, 2020 • Jul 5 '20 Dropdown menu Copy link Hide I am glad, I could help! 😁 Collapse Expand emadsaber emadsaber emadsaber Follow Software Engineer with 10 Years of experience.I work as a Full-Stack .NET developer. I'm keen on client-side technologies like React and Angular. Location Egypt Work Senior SW Engineer Joined Dec 17, 2019 • Jul 5 '20 Dropdown menu Copy link Hide This feature exists in C# since years, good news to be in javascript, thanks. Collapse Expand Vikrant Bhat Vikrant Bhat Vikrant Bhat Follow The irony is, I am a web developer but I am shit scared of spiders.Javascript && React ⚛️ Email vik.bhat223@gmail.com Location Delhi, India Work Frontend Engineer @ Razorpay Joined May 30, 2020 • Jul 5 '20 Dropdown menu Copy link Hide 😁 Collapse Expand pris stratton pris stratton pris stratton Follow I love learning coding languages and paradigms, mainly for the sake of it Joined Aug 19, 2019 • Jul 5 '20 Dropdown menu Copy link Hide Well explained and concise. Nice read 😀 Collapse Expand Vikrant Bhat Vikrant Bhat Vikrant Bhat Follow The irony is, I am a web developer but I am shit scared of spiders.Javascript && React ⚛️ Email vik.bhat223@gmail.com Location Delhi, India Work Frontend Engineer @ Razorpay Joined May 30, 2020 • Jul 5 '20 Dropdown menu Copy link Hide 😁 Collapse Expand Reli Reli Reli Follow 🏳️⚧️ She/her I'm a React developer and I like to write music. Location México Pronouns She/Her Joined Nov 7, 2019 • Jul 5 '20 Dropdown menu Copy link Hide Very useful! thank you! Collapse Expand Vikrant Bhat Vikrant Bhat Vikrant Bhat Follow The irony is, I am a web developer but I am shit scared of spiders.Javascript && React ⚛️ Email vik.bhat223@gmail.com Location Delhi, India Work Frontend Engineer @ Razorpay Joined May 30, 2020 • Jul 5 '20 Dropdown menu Copy link Hide 😁 Collapse Expand Jupiter Programmer Jupiter Programmer Jupiter Programmer Follow Javascript full stack developer with 6+ year experience, I Love React, Node and I Strive for the excellence Email jupiter.programmer@gmail.com Work javascript full stack developer Joined Jan 31, 2020 • Jul 5 '20 Dropdown menu Copy link Hide That's very kind of the article. Especially Nullish coalescing is a perfect solution. Thanks again for your article. Hope you another article. Collapse Expand Vikrant Bhat Vikrant Bhat Vikrant Bhat Follow The irony is, I am a web developer but I am shit scared of spiders.Javascript && React ⚛️ Email vik.bhat223@gmail.com Location Delhi, India Work Frontend Engineer @ Razorpay Joined May 30, 2020 • Jul 5 '20 Dropdown menu Copy link Hide Glad to help 😁 Collapse Expand Bernard Gabon Bernard Gabon Bernard Gabon Follow Joined Oct 25, 2020 • Oct 25 '20 Dropdown menu Copy link Hide Thank you, C#! Collapse Expand Vikrant Bhat Vikrant Bhat Vikrant Bhat Follow The irony is, I am a web developer but I am shit scared of spiders.Javascript && React ⚛️ Email vik.bhat223@gmail.com Location Delhi, India Work Frontend Engineer @ Razorpay Joined May 30, 2020 • Oct 25 '20 Dropdown menu Copy link Hide My pleasure! Code of Conduct • Report abuse
Great article going over these new features Vikrant!
I've used optional chaining before in ruby but have never used nullish coalescing.
The way you explained nullish coalescing was perfect; I totally see how that could be useful.
I am glad, I could help! 😁
This feature exists in C# since years, good news to be in javascript, thanks.
😁
Well explained and concise. Nice read 😀
😁
Very useful! thank you!
😁
That's very kind of the article.
Especially Nullish coalescing is a perfect solution.
Thanks again for your article.
Hope you another article.
Glad to help 😁
Thank you, C#!
My pleasure!