5
I know little about Javascript, and I was trying to understand how Jquery can be a function and an object at the same time. I wondered how it was developed so that it could be called as a function ($()
) and as an object ($.fn()
).
Does anyone know how this works?