Skip to content

Commit 0d9eea6

Browse files
authored
Sentence improvement
1 parent e62dfd5 commit 0d9eea6

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
@@ -122,7 +122,7 @@ The syntax is:
122122
arr.slice(start, end)
123123
```
124124

125-
It returns a new array where it copies all items start index `"start"` to `"end"` (not including `"end"`). Both `start` and `end` can be negative, in that case position from array end is assumed.
125+
It returns a new array containing all items from index `"start"` to `"end"` (not including `"end"`). Both `start` and `end` can be negative, in that case position from array end is assumed.
126126

127127
It works like `str.slice`, but makes subarrays instead of substrings.
128128

0 commit comments

Comments
 (0)