The JavAscript exception "is not iterable" occurs when the value which is spread into an array or function call, given As the
right-hand side of for...of,
As argument of a function such As Promise.all or Set(),
or As the right-hand side of an array destructuring Assignment,
is not an iterable object. This error is also encountered when Array.fromAsync() or for await...of is used with a non-Async iterable....The JavaScript exception "is not iterable" occurs when the value which is spread into an array or function call, given as the
right-hand side of for...of,
as argument of a function such as Promise.all or Set(),
or as the right-hand side of an array destructuring assignment,
is not an iterable object. This error is also encountered when Array.fromAsync() or for await...of is used with a non-async iterable.