javascript and spread operator as unexpected token

前端 未结 0 842
深忆病人
深忆病人 2021-01-25 04:17

I have strange problem with spread operator. When I use this code in chrome console, it works great:

var obj1 = { food: \'pizza\', car: \'ford\' }
var obj2 = { an         


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