📜  查找 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:12.342000             🧑  作者: Mango

代码示例5
let found_user = response.data.find(acc=>{ //found_user is always undefined
      return acc.username == user_to_find;
    })
    
    let found_user = response.data.find(acc=> ( //found_user is always undefined
      acc.username === user_to_find;
    ))