When reading why ES6 class methods don't automatically bind "this" to the method, I see answers that say "prototype methods don't bind on extraction", but that means nothing to me. What does "bind on extraction" mean?
When a function is called
obj.func()
What does "binding on extraction mean"?
Articles I found that are relevant are:
https://esdiscuss.org/topic/why-are-es6-class-methods-not-automatically-bound-to-the-instance - This is the article that generated my question. Search for "we could still have had methods bind on extraction"
Why aren't methods of an object created with class bound to it in ES6? - this is the Stack Overflow question and answer that references the article in question.
Mozilla MDN web docs on Classes - Strangely enough, the Rectangle example given as an example Javascript class doesn't use bind(). I'm guessing because it was so simple bind wasn't needed, but if it had, it would help the folks (like myself) that came to Javascript from a Java background
ES6 In Depth: Classes - very good article on prototype objects and how the class keyword is syntactic sugar.