I have trouble with my code below.
I have a Object with functions etc and I need a locale storage object too. Is this possible? I always get the "Unexpected identifier" error trying to do this.
var object = {
var STORAGE = new Object();
STORAGE.one = null;
STORAGE.two = null;
STORAGE.three = null;
STORAGE.four = null;
one: function(){
//function one
},
two: function() {
//function 2
}
};