J
josh
Hi I've the following problem when I try to use
AA.BB.x where isOK == false
and in fact I have the following error:
make is not defined
AA =
{
BB =
{
make : function()
{
return "no";
},
x : isOK ? "yes" : make()
}
}
why? x in that way can't be initializated to a calling function return
value?
Thanks
AA.BB.x where isOK == false
and in fact I have the following error:
make is not defined
AA =
{
BB =
{
make : function()
{
return "no";
},
x : isOK ? "yes" : make()
}
}
why? x in that way can't be initializated to a calling function return
value?
Thanks