[Javascript] formの送信データをkey=valueの連想配列データに簡単コンバートする方法

const form = document.forms.form_tag
const formEntries = new FormData(form).entries()
const query = Object.assign(...Array.from(formEntries, ([name, value]) => ({[name]: value})))
これだけconst form = document.forms.form_tag
const formEntries = new FormData(form).entries()
const query = Object.assign(...Array.from(formEntries, ([name, value]) => ({[name]: value})))
これだけ