JS добавить OBJ Dynamical
const dynamicProp=shape';
const item={
type:'solid',
[dynamicProp]:'round',
}
//{type:'solid',shape:'round'}
console.log(item);|
Quaint Quelea