title: Variable with scope for the selected functions
body: <p>Please bear with me if this is simple question. In javascript, how can I create a variable that has scope to the selected functions? For example, I want variable var1 which can be updated with function1() and function2() but not with any other functions. Is it possible?</p>