How to make [i] dynamic using jquery?

I have a list there is an array in each list, Now I’m trying to make array [i] dynamic this is not working. How to solve it?

My Code:-

 for (let i = 0; i < result.result.length; i++) {
                            $.each(result.result[i].services, function(key, value) {
                                serviceList += `<li>${value.name}</li>`;
                            });
                        }

ThankYou for your support!