docs(unbreakable): correct grammar

This commit is contained in:
davhojt 2022-05-01 19:06:16 +01:00 committed by Dav Hojt
parent 1ac0687860
commit 17a1573d0f
1 changed files with 6 additions and 7 deletions

View File

@ -4,20 +4,19 @@
Implement 2 functions:
- `split` that works like the string method `.split` but take the string as
it's first argument.
- `split` that works like `String.split`, but takes the `string` as its first argument.
- `join` that works like the string method `.join` but take the array as
it's first argument.
- `join` that works like `Array.join`, but take the array as
its first argument.
### Notions
- [devdocs.io/javascript/global_objects/array/join](https://devdocs.io/javascript/global_objects/array/join)
- [devdocs.io/javascript/global_objects/string/split](https://devdocs.io/javascript/global_objects/string/split)
- [Array.join](https://devdocs.io/javascript/global_objects/array/join)
- [String.split](https://devdocs.io/javascript/global_objects/string/split)
### Code provided
> all code provided will be added to your solution and doesn't need to be submited.
> The provided code will be added to your solution, and does not need to be submitted.
```js
String.prototype.split = undefined