1×
Become a member
to unlock all features
Autoplay

    Understand JavaScripts this keyword within Prototypes

    javascriptJavaScript

    It may be confusing to understand how the this keyword is used when accessing a method through the prototype chain. For example if one object has a method with this used and is called through a linked object, what is the context? We’ll play around with this usage and show when context changes.