Object Destructuring Style: Spaces or no spaces in curly braces?

后端 未结 0 1899
粉色の甜心
粉色の甜心 2021-01-24 11:52

When using ES6\'s destructuring assignment, is it stylistically preferred to use spaces inside your curly braces?

For example, with the following object:

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