2 ms·
There is an obj visible at the point of the function definition. When that function definition takes place, obj.whatever() is called, and the value stashed away
by kazinator 2y ago
There is an obj visible at the point of the function definition. When that function definition takes place, obj.whatever() is called, and the value stashed away. Thus the call obj.whatever() has to work at that time. The stashed value is retrieved whenever the corresponding function argument is missing.