Fun Fun Function
Published in

Fun Fun Function

__proto__ vs prototype

We explore the __proto__ property on JavaScript Objects, and how it relates to the normal prototype. Basically, the .__proto__ property points to the object that the current object actually will use when doing lookups on the prototype chain, while “.prototype” only exists on functions, in case you want to use those objects as constructors
passed to the new keyword.

Full video:

Stuff mentioned in the video:

• Full series: Object creation in JavaScript
https://goo.gl/pCt2tX

• Music in the video: Peacock by 7 minutes dead
https://www.youtube.com/watch?v=Mi-xOhMqrkg

# I’m also active on:
• Twitter https://twitter.com/mpjme
• Medium https://medium.com/@mpjme
• Quora https://www.quora.com/profile/Mattias-Petter-Johansson

--

--

--

A fun, personal and down-to-earth show about programming

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Mattias Petter Johansson

Mattias Petter Johansson

Creator of Fun Fun Function, a YouTube show about programming.

More from Medium

5 Helpful Shorthands in TypeScript

Local storage vs Session Storage vs Cookies vs Redux store

1-min how to: vite init

JavaScript … is it remotely possible?