I do this system but I cannot output from this I exactly want name:’mancing’or ‘mancing’
can anyone solve this problem
const data = [
[name = 'john doe', name2 = 'hello'],
[age = 23],
[hobby = [{
name: 'mancing'
}]]
];
data.map((item, key) => console.log(item, key))