Setting the value of a undefined object

后端 未结 0 547
心在旅途
心在旅途 2021-02-04 04:09

I would like to set a value to an object which is into a deep structure.

Let\'s say the value of myObject.language.settings.color should be red.

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