Hey guys am new to javasript app development..I have learned about objects and arrays and i got that values in the arrays can be called by index but in objects it cant be possible.
So i have tried the code
name = ['dfsdf','sfdsf']
var b = [[name,'DFDSF']];
console.log(b[0].name);
It gives me undefined Instead of returning the array name.
I just want to know how can i access like b[index].nestedarrayname.
It would be really helpful if you provide some example codes ..Thanks
bwill look like[[['dfsdf','sfdsf'], 'DFDSF']]. Values don't contain information about variable names.