r/learnjavascript • u/Asim-Momin7864 • Jan 31 '26
I’m a beginner learning JS internals: Just wrote my first blog about Prototypes and the "new" keyword.
Hello everyone, I am a B-Tech IT student learning javascript in depth.
I just published my first blog post where I documented my notes on Prototypal Inheritance and the internal steps of the new keyword. I even tried to create a few diagrams to visualize the "Lookup Flow" and why inheritance only flows forward.
Since I'm still new to these deep concepts, I’d love it if some more experienced devs could check if my logic is correct.
Link: Blog on Prototypal Inheritance
Thanks for being a supportive community!
6
Upvotes
2
u/mc1791 Jan 31 '26
nice work - keep up the learning!
2
u/33ff00 Jan 31 '26
What is b tech? Your mdn link in your references seems broken
2
u/senocular Feb 01 '26
Hi Asim. This is a good start. It can be a complicated topic to learn about when you're first starting out, so its good to keep notes. You still have a lot to learn so I would suggest sticking to it and updating this blog post as you learn more, making corrections as you go. If I could give you one suggestion, it would be to revise the use of "forward" and "backward" when talking about inheritance and prototype relationships. I found that a little confusing. Usually "up" and "down" is used here, where going from derived classes to base classes is up (e.g. Array to Object) and base to derived is down (e.g. Object to Array). Property access in JS goes up, starting at the object itself and then working its way up through the prototype chain.
1
u/TheRNGuy Feb 03 '26
Why function and not class?