Trying to turn an object into an array but not entirely familiar with JavaScript

后端 未结 0 1820
礼貌的吻别
礼貌的吻别 2020-12-21 11:13

I\'ve got an object that currently looks like this:

{
   name: \'name\',
   type: \'type\',
   fields: [
   {
      name: \'field1\', value: 2
   },
   {
             


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