While investigating the sizzle.js source code for a project, I stumbled upon an interesting discovery. Towards the end of the code, there is a line that reads:
window.Sizzle = Sizzle;
However, there doesn't seem to be any declaration of a variable named Sizzle
in the code. The closest resemblance to it is this function:
function Sizzle( selector, context, results, seed ) {
This brings me to my question: Can a function serve as an object in such a scenario? Or have I overlooked something crucial?