The js array contains multiple objects. How to find this object according to an attribute of the object?

list=[
    {
        a:1,
        b:2
    },
    {
        a:3,
        b:4
    },
    {
        a:5,
        b:6
    }
]

now that I get an object in the array with a value of 5, I need to find the value of b, that is, 6. What should I do? The value of a will never repeat, but b may repeat

Aug.13,2021

list.find(item => item.a === 5).b
Menu