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.
I went through this clip three times to fully understand what happened.
I watched it twice, took a break and watched it twice again.
Its confused to use foo, bar, and baz
This content is basically derived from here https://github.com/getify/You-Dont-Know-JS/blob/master/this%20%26%20object%20prototypes/ch5.md#prototypal-inheritance
Isn't Bar function has Foo's context after assigning Foo's prototype to it? So that we basically passing Foo's context (/this) back to Foo in Bar?