Iterates over an object via its Symbol.iterator or over the values of an array using a destructuring pattern.