Assign key value pair array to 2 arr objects typescript

后端 未结 0 1253
礼貌的吻别
礼貌的吻别 2021-01-30 00:03

Is there a way to write this out in a simpler and cleaner way in typescript

getMonthNames() {
this.months = [{ name: \'Jan\', value: 0 }, { name: \'Feb\', value:          


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