Hello!
Right now I’m trying to create a nested list in Codeless and I’m having some difficulties.
In the snippet below, I’m creating a list called serviceEntry, which should be an array consisting of three objects. I am also creating another list called serviceLineList, which consists of one or more of the serviceEntry list.
Upon inspection of the console, serviceEntry and serviceLineList look identical. serviceEntry looks as expected, an array of three objects. However, I expect serviceLineList to have a length of one, consisting of a single array of three objects. Instead, I also see an array of three objects.
I am unsure of why this is the case and can’t seem to find similar cases. Any help would be appreciated!