JS Merge 2 Form Form Data

let formData = new FormData();
formData.append('test', 'test')
let formDataPrecios = new FormData();
formDataPrecios.append('test2', 'test2')

for (var pair of formDataPrecios.entries()) {
    formData.append(pair[0], pair[1]);
}
Ashamed Ape