Hello,
I am having one javascript file in which functions are defined in the way stated as below.
var str = {
f1 : function() {
},
f2 : function() {
},
f3 : function() {
},
f4 : function() {
}
};
How can I call function f2 inside function f1 inside setTimeout? And is there any tutorial which should help me to learn this syntax? Please help me. Thanks in advance.