I have an object array like this:
result = [{
email: '[email protected]',
profile: './image/[email protected]/6.jpg'
},
{
email: '[email protected]',
profile: './image/[email protected]/5.jpg'
}
]
How can I find the right object in result based on email?