C
Carlos JP
Having a object
var a =
{
name : "Carlos",
id : 102
}
and a function:
function getDetail()
{
return { adress : "Portugal",
phone: 214443534535}
}
how can i create an object that is the union of the object and the
function return something like:
var b = a.Join(getDetail()) ??
var a =
{
name : "Carlos",
id : 102
}
and a function:
function getDetail()
{
return { adress : "Portugal",
phone: 214443534535}
}
how can i create an object that is the union of the object and the
function return something like:
var b = a.Join(getDetail()) ??