Function Calling by ForEach()

Hello all,

I am facing an issue in Function Calling from JS.

I want to call a function recursively for a list of arguments.

Code:
user_id_list.forEach(function(user_id_list,index) {
console.log(“user_id_list”,user_id_list)
TeamAccuracy(i, user_id_list);

                    })

here,
use_id_list =[“a@gmail.com,"b@gmail.com"]
TeamAccuracy : Function name

problem is that argument list has two arguments but forEach() is calling this function only once.