how can split object in 2 strings?. keys in one string, values in other string
my object is this.
var obj = {
mail: 'mailObjeto',
nombre: 'nombreObjeto',
apellido: 'apellidoObjeto'
};
deseable output
string 1: "mail,nombre,apellido";
string 2:"mailObjeto,nombreObjeto,apellidoObjeto";