The Array.from() method creates a shallow-copied array instance from an array like object or an iterable. The iterable object could be an array, a...
For further actions, you may consider blocking this person and/or reporting abuse
Hey! Thank you for article!

Just want to add Object.value already returns Array so you don't have to convert it to Array using Array.from
It's more used with Maps because Map.prototype.values doesn't return an array, it returns map iterator which could be converted to array using Array.from
You are absolutely correct. Thank you for your opinion. Future articles will be free of contradictions. Have a nice day 🙂❤️.
Nice article. Just wanted to say, the character frequency map isn't very efficient (unnecessary quadratic time complexity) and doesn't end up being in a usable form and has multiple same entries. Something simple using
Array#reduceworks, e.g.:Thank you for your feedback. I appreciate the suggestion and accept the same. I just wanted to demonstrate some intermediary use cases of Array.from() method. Indeed Array.reduce() is the more efficient approach. I'll consider incorporating that improvement in the future articles. Have a nice day.!
I wish people would stop writing this exact same article every week.
I wanted to make the article as unique as possible. But if you find the topic boring, I apologise for the same.