please see this code
var sse2 = function()
{
var var1;
var var2;
return
{
buildmenu:function()
{
}
move:function()
{
}
}
}
This code is for horizontal menu.In this code i am unable to understand the following two things
(1) can we define an object as shown below
var sse2 = function()
{
}
(2) what is doing with this following stament
return
{
buildmenu:function()
{
}
move:function()
{
}
}
can anyone explain this code
Aucun commentaire:
Enregistrer un commentaire