I am new to javascript. This is my codes, I want it to return true if it finds 'anna' in the list
var userList = [{'username':'anna','email':'[email protected]'},
{'username':'benny','email':'[email protected]'},
{'username':'kathy','email':'[email protected]'}]
return userList.includes('anna')
your help it much appreciated