DEV Community

Discussion on: Tips and Tricks for Better JavaScript Conditionals and Match Criteria

Collapse
 
rafalmiler77 profile image
rafalmiler77

car?.model doesn't look like vanilla JavaScript.

Collapse
 
proticm profile image
Milos Protic • Edited

It's the official proposal. You can check it out here.

Today, you can use it with Babel, but hopefully, it will be fully supported one day.

I guess you didn't fully read section 7 :)