JavaScript error: this.each is not a function

As far as I know, there is no JavaScript native .each() method - there is a jQuery .each() and there are likely more out there within other JS libraries.

The question I have is: what is the this object referring to?

I’ll need to see more code: