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
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
Sacha Greif -
sharathchandark -
Arindam Majumder -
Ankush Goyal -
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 ð