Why does passing a function to a javascript method not have an affect on the function context?
7683
How to access the correct `this` inside a callback?
124
Is JavaScript a pass-by-reference or pass-by-value language?
49943
Javascript function scoping and hoisting
45880
Custom function won't refresh as inputs are changed
140402
Do inner functions in JavaScript get hoisted? How do the scoping rules apply to them?
50298
How do you create a method for a custom object in JavaScript?
63814
Why is this Java code in curly braces ({}) outside of a method?
94300
Why does the Replace() string method not modify my string variable?
33587
Pass correct "this" context to setTimeout callback?
109430
What is the scope of the local variable/methods of an instance
143922
How can I use function's parameter in it?
30608
How to access javascript variable stored in function closure from browser console?
74142
Why isn't `method=` treated the same as any other method?
24596
Why can a function modify some arguments as perceived by the caller, but not others?
151220
Why use `javascript:void(0)` instead of `javascript:` as an href do nothing placeholder?
12462
What do (lambda) function closures capture?
15233
Event handler scope in Javascript