© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Vaibhav Rai
Frontend developer
🙌 To the point, if possible can you add a small reference on how to find whether some object is iterable or not, it will easier to relate why cases like these won't work;
const one = {1: 1, 2: 2}; const b = [...one]
Nisarg Kapkar
Twitter: @nnkkaapp | Software Engineering | Product Management
Got it! Thanks for the feedback & suggestion :)