Constant JSON object vales changing in the loop while creating a new object dynamically in javascript

后端 未结 0 1997
南方客
南方客 2020-12-03 12:30

Hello I have a template object as follows:

const baseObj = {
  objKey: \'\',
  index: 1,
  cells: [
    {
      key: \'id\',
      value: \'\'
    },
    {
           


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