Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
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.
@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,
https://experienceleague.adobe.com/en/docs/journey-optimizer/using/content-management/personalizatio...
View solution in original post
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.
Views
Likes
Replies