r/javascript • • Jul 22 '26

AskJS [AskJS] what's a javascript feature you mass-adopted way too late and felt dumb about

64 Upvotes

107 comments sorted by

View all comments

17

u/rbobby Jul 22 '26

Promises.

1

u/monsto Jul 23 '26

I had a hard time grokking promises because every tutorial I could find used settimeout to set up the example, and the settimeout syntax is kind of different to most JS methods.

0

u/SkySarwer Jul 22 '26

this

5

u/busres Jul 22 '26

You adopted this way too late (too much functional programming)? 😀

3

u/SkySarwer Jul 22 '26

haha, good one