I am trying to create a JSON object using variables.
For example, saying that there is one style and serveral colors in it.
What I am trying to do is to create JSON object by following the below steps:
However, the line 5 and 6 invoke an error... how do we set the property using initialized variable?
Thanks in advance!

Report
All responses (
Answers (