You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Create a test FormData objectvarformData=newFormData();formData.append('key1','value1');formData.append('key2','value2');// Display the key/value pairsvarentries=formData.entries();for(varpairofentries){// line 1222console.log(pair[0]+', '+pair[1]);// line 1223}// line 1224
[ERROR] in script.js
1222:16:missing ; after for-loop initializer
[ERROR] in script.js
1223:10:syntax error
[ERROR] in script.js
1224:1:syntax error
If I change "for..of" to "for...in" works, but I need to be "for...of".
The text was updated successfully, but these errors were encountered:
If I change "for..of" to "for...in" works, but I need to be "for...of".
The text was updated successfully, but these errors were encountered: