1// Create a test FormData object
2var formData = new FormData();
3formData.append('key1', 'value1');
4formData.append('key2', 'value2');
5
6// Display the key/value pairs
7for(var pair of formData.entries()) {
8 console.log(pair[0]+ ', '+ pair[1]);
9}
10