Array Destructuring Skipping Values Syntax Sugar

后端 未结 0 808
半阙折子戏
半阙折子戏 2021-01-30 17:50

My airbnb styleguide told me I should use Array Destructuring

const result = splittedArr[1];

So I wrote it like

const [, result] =         


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