Both Example for contact with name "amy" and "john" state that find function will return list of contacts where name is "john"/"amy".
However, based on the above description, find returns all contacts with names that "contains" "amy"/"john". Meaning contacts with names like "johnson" is returned too.
Both Example for contact with name "amy" and "john" state that find function will return list of contacts where name is "john"/"amy".
However, based on the above description, find returns all contacts with names that "contains" "amy"/"john". Meaning contacts with names like "johnson" is returned too.