Help with tollbox javascript using list of values

Hi there,

I am trying to apply the script below on a javascript workflow
Like you see on the screen, the script works correctly according to my intent.

Well, the JSON object in script above would “represents” here a Bublle object, and the run javascript would be like that:

The problem to apply it in Bubble is: How to take many values inside a Bubble Objetc and iterate them, as well as I did on script above?

Note that i have to take the “n” counter of each list of data from the list, as you can see at line 9. And, obviously, this counter must to be read by javascript.

Is it possible to do? Can I “enter” into a Bubble thing/object and “explode” it like a JS or JSON object and take any data as my needs without depends from “no-code” limitations?