Search code examples
When is a `using var` disposed? Is it out-of-scope as soon as possible or at the end of the block?...


c#scopeusingidisposableusing-statement

Read More
I declared a variable inside a function, which should make it private. Why can I ostensibly access i...


javascriptscope

Read More
What is the difference between "let" and "var"?...


javascriptscopeecmascript-6varlet

Read More
AngularJS, objects attached to $scope won't bind to html element...


javascripthtmlangularjsdata-bindingscope

Read More
What is the purpose of the script scope?...


javascriptscopeecmascript-6let

Read More
Can a function be executed within the variable scope of another function?...


javascriptfunctionscope

Read More
Javascript: difference between using an IIFE and a block statement...


javascriptsyntaxscopeblockiife

Read More
Require_once doesn't seem to affect all functions?...


phpscoperequire-once

Read More
Scope displays unexpected puls generator output...


matlabscopesimulinkclockpulse-signal

Read More
What is a "this-escape" warning, and how do I deal with it?...


javascopewarningscompiler-warningsthis-pointer

Read More
Confusion about scoping in python classes...


pythonscopeself

Read More
WebStorm limit refactor scope to current file only...


intellij-ideascoperefactoringwebstorm

Read More
Why enclose blocks of C code in curly braces?...


cscopecurly-braces

Read More
Declaring an object before initializing it in c++...


c++scopedeclarationinstantiationdefinition

Read More
Why does a template literal work when it appears inside an event handler, but not outside it?...


javascriptvariablesscope

Read More
Is this practice of manually applying scopes standard C?...


cscopelanguage-lawyercurly-braces

Read More
Why are variables not available to a sub-function on run?...


pythonfunctionvariablesscope

Read More
How can I access global variable inside class in Python...


pythonscopeglobal

Read More
Why does $new = new self($data); lets you access private functions and variables?...


phpoopscopestdclass

Read More
C program: Use an array outside the scope it was defined in...


arrayscpointersconditional-statementsscope

Read More
Changing a Variable Out of Scope?...


javascriptvariablesscope

Read More
Why does a locally scoped variable that hasn't been defined reference the instance variable of t...


rubyscopescope-resolution

Read More
How to capture `this` from an outer scope in a jQuery callback?...


javascriptcallbackscopethis

Read More
how is the ref-safe-context determined in c# when ref assigning to local variables...


c#.netscopeclrref

Read More
In Ansible YAML, how do I pass different variables to an include_tasks to make it reusable?...


ansiblescopeyamlvariable-assignment

Read More
How can I use a global variable in a function?...


pythonglobal-variablesscope

Read More
PHP - Difference between 'use()' or 'global' to access a global variable in a closur...


phpscopeclosuresanonymous-function

Read More
Is there a way to define variables of two different types in a for loop initializer?...


c++for-loopscopeinitializervariable-declaration

Read More
namespaces for enum types - best practices...


c++enumsscopenested

Read More
Spring Java Config: how do you create a prototype-scoped @Bean with runtime arguments?...


javaspringscopeprototypespring-java-config

Read More
BackNext