Y
Hacker News
new
|
ask
|
show
|
jobs
by
skrebbel
4331 days ago
The ones in jQuery are a bit like static methods in classical OO languages. A JQuery instance encapsulates a set of nodes, so methods that don't apply to nodes are on the JQuery object and not the prototype.