📅  最后修改于: 2022-03-11 14:55:46.206000             🧑  作者: Mango
// Create a test FormData object
var formData = new FormData();
formData.append('key1', 'value1');
formData.append('key2', 'value2');
// Display the values
for (var value of formData.values()) {
console.log(value);
}