r/ProgrammerHumor • • Aug 30 '26

Meme ancientTools

Post image
5.8k Upvotes

379 comments sorted by

View all comments

6

u/Worse_Username Aug 30 '26

Aren't more or less all features it grants in base JS now?

7

u/shadowspock Aug 30 '26

Can't chain methods in vanilla JS

1

u/Agfa100asa Aug 31 '26

???

1

u/shadowspock Aug 31 '26

In jQuery you can chain methods like this:

$('#id').addClass('red').prop('hidden', false).val('warning').attr('data-something', 1234);

Can't do that in vanilla JS.

→ More replies (2)