How to remove undefined keys from an object that I am getting from API in javascript?

后端 未结 0 1745
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-02 18:09

I am assigning an API response to a key. Mapping my API record and then assigning with the key.

Code is -

{
myAPIResponse: myInfo.firstData &&
             


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