How to check if a “deep” structure is not undefined?

后端 未结 0 1674
时光说笑
时光说笑 2021-01-15 03:01

what is the best aproach to check if a "deep" structure is undefined?

For example I have some check like this:

if (json.error.message != unde         


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