I am new to AJO and would like to code a basic for loop, something like this in JavaScript,
for (let i = 0; i < cars.length; i++) {
text += cars[i] + "Car";
}
Any suggestions?
Solved! Go to Solution.
Views
Replies
Total Likes
@GeorgeVi2 You don't have for loop. Instead, see if you can use each function to see if that helps. Take a look at this documentation,
You can take a look at this link https://experienceleague.adobe.com/en/docs/journey-optimizer/using/content-management/personalizatio... for reference examples on iterating over arrays / object arrays.
@GeorgeVi2 You don't have for loop. Instead, see if you can use each function to see if that helps. Take a look at this documentation,
Views
Likes
Replies
Views
Likes
Replies