0
Q:

how to console.log formData

// Display the values
for (var value of formData.values()) {
   console.log(value); 
}
3
// Display the key/value pairs
for (var pair of formData.entries()) {
    console.log(pair[0]+ ', ' + pair[1]); 
}
3

New to Communities?

Join the community