Update article.md
fixed typo 'stringss' in 1-js/05-data-types/05-array-methods/article.md
This commit is contained in:
parent
a38ab40724
commit
05368cea2b
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ arr.slice(start, end)
|
|||
|
||||
It returns a new array copying to it 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.
|
||||
|
||||
It's similar to a string method `str.slice`, but instead of substringss it makes subarrays.
|
||||
It's similar to a string method `str.slice`, but instead of substrings it makes subarrays.
|
||||
|
||||
For instance:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue