Code: Select all
var person=function()
{var name="";
var_children=[];
function_getAllDescendants(){}
return
{_name:name,_children : children,_getAllDescendants:getAllDescendants};};
Благодарю за помощь.
Code: Select all
var person=function()
{var name="";
var_children=[];
function_getAllDescendants(){}
return
{_name:name,_children : children,_getAllDescendants:getAllDescendants};};