I am working on the demo code below. Why am I not able to extract values from the object?
var obj = {
  webSiteName: 'StackOverFlow',
  find: 'anything',
  onDays: ['sun', 'mon',
    'tue',
    'wed',
    'thu',
    'fri',
    'sat',
    {
      name: "jack",
      age: 34
    },
    {
      manyNames: ["Narayan", "Payal", "Suraj"]
    },
  ]
};
console.log(obj.onDays[2]);
console.log(obj.onDays.manyNames[1]); 
     
     
    