Closed
Description
For example, a function takes any number of parameters and return the last one.
function GetLastOne<T>(...rest:any[], last:T)
{
return last;
}
and this: http://createjs.com/docs/easeljs/classes/Container.html#method_addChild
For example, a function takes any number of parameters and return the last one.
function GetLastOne<T>(...rest:any[], last:T)
{
return last;
}
and this: http://createjs.com/docs/easeljs/classes/Container.html#method_addChild