Calling a function from within a function in an object

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.

Property names don’t need to be specified as strings.

How are you calling the method?

a.functiona();