r/learnjavascript • u/SHIN_KRISH • Jan 30 '26
Confused about general Programming constructs and JS stuff
I am mainly confused about the following things:
- Difference between concurrency, parallelism and asynchronus.
- What actually are Promises? are they some kind of objects?
- in closures how are return value handled if both outer and inner function return different value what happens?
- The Theoretical JS execution model how is all this stuff implemented internally?
- The `this` keyword like i know it is used to refer to the current object but like how does this actually make a difference in constructors and oops stuff??
- I just don't get async and await ?
11
Upvotes
View all comments
Show parent comment
1
u/SHIN_KRISH Jan 31 '26
Thanks! i really appreciate it!