mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
davhojt
17a1573d0f
|
3 years ago | |
---|---|---|
.. | ||
README.md | 3 years ago |
README.md
Unbreakable
Instructions
Implement 2 functions:
-
split
that works likeString.split
, but takes thestring
as its first argument. -
join
that works likeArray.join
, but take the array as its first argument.
Notions
Code provided
The provided code will be added to your solution, and does not need to be submitted.
String.prototype.split = undefined
String.prototype.match = undefined
RegExp.prototype.exec = undefined
Array.prototype.join = undefined