A bit of confusion. Here's the JS code:
(function(){
var self = this;
var view = 12;
self.value = null;
....
});
I understand using var view = 12 creates a local scope for the view variable. But doesn't self.value also create a "local" scope for the value variable? If so, what is the difference or am I missing something?