SyntaxFix
Write A Post
Hire A Developer
Questions
If you are using lodash it can be done concisely with fromPairs
fromPairs
import {fromPairs} from 'lodash'; const object = fromPairs(Array.from(formData.entries()));