1

Why my code not working ?

var myFormData = new FormData();
myFormData.append('xxx',1233);
console.log(myFormData);

Why myFormData is empty?

https://repl.it/B8K4

Mateusz Ryndak
  • 79
  • 1
  • 5
  • 13

1 Answers1

0

You cant log it or get data from it in a simple way.

Already explained here: How to inspect FormData?

Community
  • 1
  • 1
abeyaz
  • 2,898
  • 1
  • 15
  • 19