Pass dynamic params to IIFE

I’ve got this issue with passing a variable to an IFFE. did some reading, still didn’t figure it out. would really appreciate some guidance here. i have a click event handler function that gets a …