html, body {
overflow-x: hidden;
}
switch (*bool переменная*)
{
case true:
*действия*
break;
}
Object
.entries(arr.reduce((acc, n) => (
n = n.match(/('.*?'):'(.*?)'/),
(acc[n[1]] ??= []).push(n[2]),
acc
), {}))
.map(n => `${n[0]}:'${n[1].join('|')}'`)