form data object view values in console.log code example
Example 1: console log formdata
// Display the key/value pairs
for (var pair of formData.entries()) {
console.log(pair[0]+ ', ' + pair[1]);
}
Example 2: angular formData print values
for (let [key, value] of formData.entries()) {
console.log(`${key}: ${value}`);
}