如何检查FormData?
console.log
for in
.
var fd = new FormData(), key;// poulate with dummy datafd.append("key1", "alskdjflasj");fd.append("key2", "alskdjflasj"); // does not do anything usefulconsole.log(fd);// does not do anything usefulfor(key in fd) { console.log(key);}
慕妹3242003
相关分类