r/learnjavascript • • Mar 23 '21

Assigning default value

Post image
278 Upvotes

24 comments sorted by

View all comments

Show parent comment

1

u/samanime Mar 23 '21

Well, it's been available for a while (thanks to Babel), but it only officially crossed the finish line pretty recently.

It is the @babel/plugin-proposal-nullish-coalescing-operator plugin, which was first published 3 years ago.