3 ms·
my is lexical, our is global, local is dynamic.
by tripa 12y ago
my is lexical, our is global, local is dynamic.
- tripa 12y agoI'll premptively add a bit of precision before a pedant comes along: my is lexical all the way; our defines a lexical binding over a global variable, and local defines a dynamic binding (of lexical extent) over a global.
- AnimalMuppet 12y agoAre you sure the pedant hasn't already arrived? ;-)