r/javascript • • May 28 '19

What are some JavaScript things beginners don't know?

333 Upvotes

383 comments sorted by

View all comments

135

u/theMightyPanda27 May 28 '19

Promises. They are quite tricky to understand for a beginner, but very convenient as one masters.

10

u/amdc !CURSED! May 28 '19

knowing Promises is essential if you want to succeed, but once you're familiar with them you should move on to async/await

1

u/[deleted] May 31 '19

That's a horrible, and unfortunately very common, take. Once you're famiar with promises, you should just stick to the functional/declarative path and generally forget that async/await exists.

1

u/amdc !CURSED! May 31 '19

Why though?

→ More replies (1)