Reinventing the wheel
I'll try to replicate the behavior of functions/libraries by just looking at your signature and expected output. I think it's a good way to learn.
Rules
- Must use JavaScript
- Can't look the real code before finishing the challenge
- Doesn't need to be a complete solution
- Avoid libraries use
- Must to be fun