August 09, 2017

Using spread operator on Iterable object

For all iterable typed data, we can iterator through the spread operator or for...of

// Set =>
[...Set]

// String
[...String]

// Array
[...Array]

// Generator/Iterable
[...Generator]