4 ms·
I don't think you need prototypes to understand this, though it is maybe a consequence of them. If you remember that functions are just always free functions an
by vore 4y ago
I don't think you need prototypes to understand this, though it is maybe a consequence of them. If you remember that functions are just always free functions and calling them without a context means `this` has no context (unless they are bound or declared with a fat arrow), then I think that gets you 100% of the way there.
`this`, of course, is a whole other bag of worms :(
- dmitriid 4y ago> I don't think you need prototypes to understand this, though it is maybe a consequence of them. You do indeed need to understand prototypes to explain this behavior. "Free functions" doesn't really make sense, because it obviates the need for classes.