Can you implement the String.prototype.split
without using while
, for
, and other imperative cycles?
![Cover image for Can you hack this? #3](https://media.dev.to/cdn-cgi/image/width=1000,height=420,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwlp4vd8z58b7ra92yp07.png)
For further actions, you may consider blocking this person and/or reporting abuse
Can you implement the String.prototype.split
without using while
, for
, and other imperative cycles?
For further actions, you may consider blocking this person and/or reporting abuse
Manthan Ankolekar -
Mukhriddin Khodiev (work) -
ng-news -
Code With Dimer -
Top comments (3)
Man, these are so fun!! You gotta post these more often.
I am dead at this problem. I got as far as splitting the string into an array with
[...string]
but my brain broke after that.I will post more of this then 😊