It can be confusing to understand when and how the .prototype and .proto properties are created and used. They both seem to imply having something to do with prototypal inheritance. This is true but possibly not how you think. We'll review each of these properties' role within prototypal inheritance and how they are used in everyday code.
Could you please explain why prototype
property is not existed when we declare a function with arrow function? Thank you.
It's stated that by design arrow functions don't have a prototype property
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions
If anybody is also wondering like me, what is "Dunder " ? It short for “Double Under (Underscores)”.
If anybody is also wondering like me, what is "Dunder " ? It short for “Double Under (Underscores)”.
yes Daiki, it's short for double underscore