Javascript arrow function lexical scope: object literal vs “new” operator

后端 未结 0 1078
萌比男神i
萌比男神i 2020-11-30 16:30

I\'m trying to understand how arrow functions work in JS. One thing that confuses me is:

let obj1 = { // MDN states that object literal does not create a new          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题