Salesforce B2C Commerce 23.5 > B2C Commerce API > B2C Commerce Script > TopLevel
TopLevel
Class Iterable
Iterable
All objects containing the property @@iterator with a function returning an ES6Iterator are said to be an Iterable.
API Versioned:
From version 21.2.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
@@iterator() : ES6Iterator
Returns an iterator to be used for iterating this object.
Method Detail
@@iterator
@@iterator() : ES6Iterator
Returns an iterator to be used for iterating this object. Typically returns a new iterator instance. For iterators returns typically the iterator itself.
API Versioned:
From version 21.2.
Returns:
The iterator to be used for iterating this object.

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.