Merge pull request #2320 from vsemozhetbyt/patch-3
Fix typo in 5.2 (FormData)
This commit is contained in:
commit
d05bbe0132
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ formData.append('key2', 'value2');
|
|||
|
||||
// List key/value pairs
|
||||
for(let [name, value] of formData) {
|
||||
alert(`${name} = ${value}`); // key1=value1, then key2=value2
|
||||
alert(`${name} = ${value}`); // key1 = value1, then key2 = value2
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue