DEV Community

Discussion on: JavaScript Jungle: Convert any object to Iterable

Collapse
 
danwalsh profile image
Dan Walsh

That’s really interesting, thanks for the tips! Going to look into Symbols now! 😊🙇‍♂️

Personally, I iterate through objects using the Object.keys(myObj).foreach() method.

Collapse
 
thejsdeveloper profile image
Vikas yadav

Thank you.
Yeah that is very nice utility method. 😊👍