Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

To iterate with a wildcard through the items in the array from the last item, the wildcard [*LAST] can be used. This can be useful for a dataLayer with events in SPA’s.

Noteinfo

The * wildcard can only be used once in a queryrecursively. E.g. dataLayer[*].basket[*].prices won’t work.

JS Variable if the condition is true

...