Below is my javascript array object. How do you access the array[0] object by using abbr="CEO" condition ( I need all values of the object ex: name, image, designation)
var leadership = [
{
name: "Peter Pan",
image: 'images/alberto.png',
designation: "Chief Epicurious Officer",
abbr: "CEO"
},
name: "Dhanasekaran Witherspoon",
image: 'images/alberto.png',
designation: "Chief Food Officer",
abbr: "CFO"
}]