rauschma / exploring-js

20 stars 0 forks source link

Chapter: New JavaScript features #52

Open rauschma opened 3 years ago

jridgewell commented 2 years ago

The Optional Chaining operator example in the New in ECMAScript 2020 section uses the incorrect .? syntax:

Optional chaining for property accesses and method calls. One example of optional chaining is:

-value.?prop
+value?.prop
rauschma commented 2 years ago

Oh no. 😬 Thanks for reporting this. It’ll be fixed in the next release.

borat3312 commented 2 years ago

Hi,