Basic Javascript (102/111) | Profile Lookup | freeCodeCamp
Full playlist 👉 • Basic JavaScript (1/111) | Comment Yo...
We have an array of objects representing different people in our contacts lists.
A lookUpProfile function that takes name and a property (prop) as arguments has been pre-written for you.
The function should check if name is an actual contact's firstName and the given property (prop) is a property of that contact.
If both are true, then return the "value" of that property.
If name does not correspond to any contacts then return "No such contact".
If prop does not correspond to any valid properties of a contact found to match name then return "No such property".
https://www.freecodecamp.org/learn/ja...
basic javascript,learn javascript,Profile Lookup,freeCodeCamp,free code camp,stral tech
Watch video Basic Javascript (102/111) | Profile Lookup | freeCodeCamp online, duration hours minute second in high quality that is uploaded to the channel Stral Tech 09 December 2020. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 1,322 times and liked it 10 visitors.