I have that script:
var information = function() {
this.paco= function() {
console.log("function called");
};
this.paco();
}();
and this:
var information = function() {
var paco= function() {
console.log("function called");
};
paco();
}();
but this works:
var information = function() {
...
this.paco= function() {
console.log("function called");
};
//this.paco();
...
}();
it works at Firefox but does not work at Internet Explorer and does not log any error to console. When I try to call a function inside information
I get this log:
Object doesn't support this action
Here is some info: http://www.spilgames.com/javascript-bug-in-internet-explorer-8-and-older/ I can not put all the code because there are many scripts calls each other. Any ideas?