Iterates various JavaScript types.
- Source:
Requires
Methods
-
(static) map(obj, index, value, data, iterator) → {Array}
-
Allows iteration of an Array, Arguments, NodeList, or plain Object.
Parameters:
Name Type Description obj* Object or Array to iterate. indexString An identifier name for index. valueString An identifier name for value. dataobject Data from parent scope. iteratorfunction Function that is called within the template. - Source:
Returns:
String output to be joined.- Type
- Array