const obj = [
{
type: 'and',
left: 'Seoul',
right: {
type: 'or',
left: 'various world restaurant',
right: {
type: 'or',
left: 'affordable public transport system',
right: {
type: 'or',
left: 'time in Seoul'
right: {
type: 'or',
left: 'exotic area',
right: {
type: 'or',
left: 'people',
right: {
type: 'or',
left: 'November 8',
right: {
type: 'or',
left: 'English most places',
right: {
type: 'or',
left: 'clean typical',
right: 'food joints open',
},
},
},
},
},
},
},
},
},
];
CONVERT ==>
const objNews = [
{
keyword: "Seoul",
relatedKeyword: "various world restaurant, affordable public transport system, time in Seoul, exotic area, people, November 8, English most places, clean typical"
}
]
ai đó hỗ trợ, hay gợi ý mình với. Cảm ơn rất nhiều