I just got a code from somewhere, which I trying to understand. But I stuck on a place which I can not understand. Javascript code is as below:
for(t_var=0,n_var=i_var.length; t_var<n_var; t_var++)
(e_var=i_var[t_var])[0]
.removeEventListener(e_var[1],d_var)
It is a single line javascript for loop. I can not understand the use of 2nd set of round bracket i.e. contains (e_var=i_var[t_var]). I think it might be creating some sort of array because [0] after 2nd set of parenthesis shows it as an array. But I am not sure what is its exact use?
Can anyone help with it please?
Regards