this is the same as window,
unless
it was set up in a .call() or .apply().
jQuery usually sets up this for you inside an .each loop or in an
event handler ( by using .call() or .apply() ) .
Inside a plugin the first this is the jQuery selector that was
before the plugin.
Inside a .each loop it is the element that you are at.
Remember that with each new function, this gets set.
#1 doesn’t have this. Globally it was set to window.
#2 depends on how number_of_image
was called.
#3
this is window, so it makes no sense.