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
Смотрите видео Basic Javascript (102/111) | Profile Lookup | freeCodeCamp онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Stral Tech 09 Декабрь 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,322 раз и оно понравилось 10 людям.