Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Well done!

You have completed (UPI) Chapter 11: Managing Errors, Debugging, and Handling Events in JavaScript!

Instruction

TypeError: 'x' is not 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 an 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-a...