Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
embedding-shape
· 1w ago · 0 comments
Are you talking about method chaining, something that comes from JavaScript (technically the DOM I suppose), not jQuery?
Comments
[–]
tyre
1w ago
Method chaining is library-specific, a function of methods returning `this`/`self`.
jQuery made the decision to do this, not JavaScript.
[–]
hax0ron3
1w ago
Yes, I'm talking about using JS' method chaining. That's what I mean by "going with a language's features".
[–]
kiliancs
1w ago
It was not commonplace at the time jQuery was released.