how to console log form data in javascript code example
Example 1: how to console.log formData
// Display the values
for (var value of formData.values()) {
console.log(value);
}
Example 2: angular formData print values
for (let [key, value] of formData.entries()) {
console.log(`${key}: ${value}`);
}