Possible to use array values to create key-value type with corresponding string literals?

后端 未结 0 1317
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-09 07:15
//###  Desired Implementation & Outcome:  ###//

function objectFromArray(...arr:T){
    return          


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