AB
Мне нужно в обьекте добавить массив, ключ которого в точности равен той строке, которую я получаю. Можно ли как-нибудь сохранять без условии?
str — "string"
{
str: "one"
}
=>
{
"string": "one"
}
{
  [string]: array
}Size: a a a
AB
{
  [string]: array
}V
V
๖
๖
s🐱
๖
SC

V

E

RS
item-${element}}V
V
item-${element}}RS
V
A
E
const classes = [] // array with classes
const data = [] // array with data
data.map((item, index) => <div className={`item-${classes[index]}`}>{item}</div>)
V
const classes = [] // array with classes
const data = [] // array with data
data.map((item, index) => <div className={`item-${classes[index]}`}>{item}</div>)
СW
