Skip to content

Update upload-images.md [replace in by of for multiple files upload]#698

Merged
ygj6 merged 1 commit intohinesboy:masterfrom
Sequoya42:patch-1
Nov 18, 2021
Merged

Update upload-images.md [replace in by of for multiple files upload]#698
ygj6 merged 1 commit intohinesboy:masterfrom
Sequoya42:patch-1

Conversation

@Sequoya42
Copy link
Contributor

Replace in with of

[ [ 1, 'toto' ], [ 2, 'tata' ] ]
> for (z of x) { console.log(z)}
[ 1, 'toto' ]
[ 2, 'tata' ]
undefined
> for (z in x) { console.log(z)}
0
1```

Otherwise, trying to access img[0] does not make sense.

Replace `in` with `of` 

```> x
[ [ 1, 'toto' ], [ 2, 'tata' ] ]
> for (z of x) { console.log(z)}
[ 1, 'toto' ]
[ 2, 'tata' ]
undefined
> for (z in x) { console.log(z)}
0
1```

Otherwise, trying to access img[0] does not make sense.
@ygj6 ygj6 merged commit e21d5e3 into hinesboy:master Nov 18, 2021
@ygj6
Copy link
Collaborator

ygj6 commented Nov 18, 2021

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants