How to make a new object? Javascript

前端 未结 0 957
谎友^
谎友^ 2020-12-18 11:10

I have an object variable that consists of colors. Is there a way for me to convert the way the object is organized to the given example?

What I have looks like this:

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