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
We're a place where coders share, stay up-to-date and grow their careers.
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
Santhosh Umapathi -
Max Daunarovich -
Krishnasoni007 -
Andrzej Krzywda -
Once suspended, alfredosalzillo will not be able to comment or publish posts until their suspension is removed.
Once unsuspended, alfredosalzillo will be able to comment and publish posts again.
Once unpublished, all posts by alfredosalzillo will become hidden and only accessible to themselves.
If alfredosalzillo is not suspended, they can still re-publish their posts from their dashboard.
Once unpublished, this post will become invisible to the public and only accessible to Alfredo Salzillo 🐺.
They can still re-publish the post if they are not suspended.
Thanks for keeping DEV Community safe. Here is what you can do to flag alfredosalzillo:
Unflagging alfredosalzillo will restore default visibility to their posts.
Discussion (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 😊