0

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
  • 87
  • 2
  • 6
  • 13

1 Answers1

-1

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

Already explained here: How to inspect FormData?

Community
  • 1
  • 1
abeyaz
  • 3,034
  • 1
  • 16
  • 20