When i include the esapi.js file and use the for..in loop in my js function, it automatically adds the each parameter and calls the function(fIterator) which leads to error.
Check the screenshot below. When i define a variable and run it in for...in loop, the other functions in esapi.js are also called.
