Skip to content

Commit b065318

Browse files
authored
Update article.md
1 parent ed6d4d1 commit b065318

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ée 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)