Updating javascript object property?

后端 未结 8 1850
盖世英雄少女心
盖世英雄少女心 2021-02-01 03:26

I have a structure like the following:

skillet.person = {
  name: {
    first: \'\',
    last: \'\'
  }, 
  age: {
    current: \'\' 
  },
  birthday: {
    day:         


        
8条回答
  •  梦如初夏
    2021-02-01 03:52

    skillet.person.name.first = "blah"
    skillet.person.name.last = "ha"
    

    The easiest way.

提交回复
热议问题