This works and is quite easy to understand. I just want to add, i prefer a pure function where it does always return what's expected without modifying the inputs.
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.
This works and is quite easy to understand. I just want to add, i prefer a pure function where it does always return what's expected without modifying the inputs.