Обновить свойство запроса ()

const oldRequest = new Request('/test',{method:"GET"});

	const newRequest = new Request(oldRequest,
{method:"POST"});

console.log(newRequest);
/*instead of method = "GET", newRequest has method="POST*/
Javasper