Is it better to declare variables inside or outside the prototype property?
146
Use of 'prototype' vs. 'this' in JavaScript?
105179
Do you prefer "if (var)" or "if (var != 0)"?
90061
Using var outside of a method
10982
What is the difference between a function expression vs declaration in JavaScript?
38499
Difference between declaring variables before or in loop?
133142
JavaScript: What dangers are in extending Array.prototype?
76010
Can a JavaScript object have a prototype chain, but also be a function?
7167
difference between variables inside and outside of __init__()
100409
When to use an object instance variable versus passing an argument to the method
76841
When should one use final for method parameters and local variables?
39668
Is there a difference between an "instance variable" and a "property" in Objective-c?
92485
JavaScript by reference vs. by value
41101
Difference between properties and variables in iOS header file?
84421
variable === undefined vs. typeof variable === "undefined"
119204
Defining a Javascript prototype
83428
Why set a property both on the function and its prototype?
130905
Referencing "this" inside setInterval/setTimeout within object prototype methods