this.InitMenu=function()
{
this.InitCates(); //初始化菜单目录
this.InitNodes(); //初始化菜单项目录
this.ToCurrentNodes(false); //初始化当前的菜单项的个数
}
//初始化目录
this.InitCates=function()
{ }
执行 this.InitCates();
是不是 在调用 this.InitCates=function()
this.InitCates=function()
和 this.InitCates=function InitCates() 有区别吗
{
this.InitCates(); //初始化菜单目录
this.InitNodes(); //初始化菜单项目录
this.ToCurrentNodes(false); //初始化当前的菜单项的个数
}
//初始化目录
this.InitCates=function()
{ }
执行 this.InitCates();
是不是 在调用 this.InitCates=function()
this.InitCates=function()
和 this.InitCates=function InitCates() 有区别吗
和 this.InitCates=function InitCates()
是有区别的
一个有名称的函数
一个是没有名称的函数
好像是没有名称的函数有引用限制
具体的我也忘记了
要去查查