Merge pull request #8646 from nishant-tomer/fix/typo-from-instructions-of-challenge-Profile-Lookup
Remove typo from instructions of challenge - Profile Lookuppull/18182/head
commit
524eae210b
|
@ -4887,7 +4887,7 @@
|
|||
"title": "Profile Lookup",
|
||||
"description": [
|
||||
"We have an array of objects representing different people in our contacts lists.",
|
||||
"A <code>lookUp</code> function that takes <code>firstName</code> and a property (<code>prop</code>) as arguments has been pre-written for you.",
|
||||
"A <code>lookUpProfile</code> function that takes <code>firstName</code> and a property (<code>prop</code>) as arguments has been pre-written for you.",
|
||||
"The function should check if <code>firstName</code> is an actual contact's <code>firstName</code> and the given property (<code>prop</code>) is a property of that contact.",
|
||||
"If both are true, then return the \"value\" of that property.",
|
||||
"If <code>firstName</code> does not correspond to any contacts then return <code>\"No such contact\"</code>",
|
||||
|
|
Loading…
Reference in New Issue