I set a breakpoint in the code below that says "breakpoint". Also adding a watch expression for the data store.
function(){
var self = {};
var dataStore = [];
var areEq = UNAB.objectsAreEqual;
self.put = function(key, value){
dataStore.push({key:key, value:value});
}
return self;
}
At this breakpoint, Firebug tells me that "ReferenceError: dataStore is not defined." The same results with an attempt to learn "areEq". However, dataStore.push is executed without errors. An additional oddity: adding a clock expression for โIโ does not show the object itself, which I expect, with one โputโ property, but โwindow objectโ.
Any idea what is going on?
source
share