Optional chaining on the left side in Javascript

前端 未结 3 1752
悲&欢浪女
悲&欢浪女 2021-01-18 15:12

Is it possible to use the optional chaining operator in the left side of an assignment = in Javascript?

c         


        
3条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-18 16:02

    I’ve tried this on Chrome Canary (because of the browser compatibility) and it didn’t work:

提交回复
热议问题