Answers for "Write a function called findHometownByState which returns the first user which has a hometown of the state that is passed in"

0

Write a function called findHometownByState which returns the first user which has a hometown of the state that is passed in

findHometownByState('CA');
/*/
{
    username: "larry",
    email: "[email protected]",
    years_experience: 22.1,
    favorite_languages: ["Perl", "Scala", "C++"],
    favorite_editor: "Vim",
    hobbies: ["Fishing", "Sailing", "Hiking"],
    hometown: {
        city: "San Francisco",
        state: "CA"
    }
}
/*/
Posted by: Guest on May-02-2021

Code answers related to "Write a function called findHometownByState which returns the first user which has a hometown of the state that is passed in"

Browse Popular Code Answers by Language