Can you use js object destructuring but modify some of the values before assigning to the new object?

前端 未结 0 624
傲寒
傲寒 2020-12-28 20:55

I have the following code that receives movie data from an api. Now I want to create a new object from the returned json file but only containing a subset of the properties

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