What I'm loving about this thread is reading all the ways to accomplish my coding goal 😊 Thanks so much for your suggestion.
Because of this reason I joined dev.to recently .
Back to the arrays discussion, the trend of using for loop will go away.
For every use case there must be some array function available.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.