function foo1() { return { name:"Aishwat" }; } function foo2() { return { description:"the cool guy !" }; } console.log(JSON.stringify(foo1())); console.log(JSON.stringify(foo2())); //Even javscript plays me! :'( :D