Thanks for sharing this.
Diego Hernandez
11

Yes I think I missed Array.from() method. Updated the post too. Thanks