3 ms·
A semi-modern example similar to shells, JSP includes also make variables dynamically scoped. I often explain JavaScript's `this` in terms of dynamic scoping.
by brlewis 8y ago
A semi-modern example similar to shells, JSP includes also make variables dynamically scoped.
I often explain JavaScript's `this` in terms of dynamic scoping. Its value is determined by the code a function is called from, not where the function is defined.