I have an object
let a = {
name:'Martian',
city:'marsTown',
luckyNumbers:[1,2,3,
{
a:'a',
b:'b',
c:[100,200,300]
}]
};
when i do console.log(a) in my node console the output is as follows
{ name: 'Martian',
city: 'marsTown',
luckyNumbers: [ 1, 2, 3, { a: 'a', b: 'b', c: [Array] } ] }
I want the output to be as follows
{ name: 'Martian',
city: 'marsTown',
luckyNumbers: [ 1, 2, 3, { a: 'a', b: 'b', c: [100,200,300] } ] }
please help me how to do it?
I am working in Ubuntu 18.04
my nodejs version is : v8.11.4