I am trying to call a function from within a function. like this but it doesnt work:
var a = {
"functiona":function(){
alert(this.functionb());
},
"functionb":function(){
return 'hello';
}
}
I am unable to use this, self or parent. Any help or advice appreciated.