DEV Community

loading...

Discussion on: 😲🤯The most outstanding new feature in Javascript you need to know about: Optional Chaining

Collapse
edzward profile image
Edzward

The person example has two firstName. Both "Michael" and "Lampe" have the same firstName variable.

Collapse
lampewebdev profile image
Michael "lampe" Lazarski Author

Oh noooo!

Thank you!

Changed it 🥳