Skip to content

Commit 9f96c99

Browse files
authored
Merge pull request #334 from belmehd/master
traduction oublié ligne 142
2 parents fbbc0f8 + b8ae4d8 commit 9f96c99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/05-data-types/05-array-methods/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ alert( arr.slice(1, 3) ); // e,s (copy from 1 to 3)
139139
alert( arr.slice(-2) ); // s,t (copy from -2 till the end)
140140
```
141141

142-
We can also call it without arguments: `arr.slice()` creates a copy of `arr`. That's often used to obtain a copy for further transformations that should not affect the original array.
142+
Nous pouvons aussi l'appeler sans arguments : `arr.slice()` créer une copie de `arr`. Cela est souvent utilisé pour obtenir une copie pour d'autres transformations qui ne devraient pas affecter le tableau d'origine.
143143

144144
### concat
145145

0 commit comments

Comments
 (0)