MI
Size: a a a
MI
АГ
MI
const res = text.split('?').map((el, i) => {
if (i === 0) {
return el + '?';
}
return el + '&';
}).join('');
MI
'lolo.ru?a=1?b=2&c=3'
.replace(/\?/g, '&')
.replace(/\&/, '?');
АГ
const res = text.split('?').map((el, i) => {
if (i === 0) {
return el + '?';
}
return el + '&';
}).join('');
MI
const res = text.split('?').join('&').replace('&', '?');
АГ
АГ
АГ
АГ
АГ
PC
PC
АГ
T
АГ
АГ
⚜
К