ยฉ 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Nisarg Kapkar
Twitter: @nnkkaapp | Software Engineering | Product Management
One of the most useful features introduced in ES6 is the Spread Operator. It is denoted by three dots (...). According to MDN Web Docs: Spread syntax (...) allows an iterable such as an array expression or string to be expanded in places where zero ...
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]
Got it! Thanks for the feedback & suggestion :)
Tapas Adhikary
Educator @tapaScript | Founder CreoWis & ReactPlay - Writer - YouTuber - Open Source
Good one, Nisarg. I am looking forward to the series.
Thank You, Tapas :)
Sumudu Siriwardana
Project Manager
This is really good write-up! It was really easy to understand with your simple explanation! ๐
Thank you so much :)
Sreekesh Iyer
Software Developer | Content Writer
Great thread, man! Very easy to understand :)
Thank You :)
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]