Remove typo from instructions of challenge - Profile Lookup
This commit is contained in:
@ -4887,7 +4887,7 @@
|
|||||||
"title": "Profile Lookup",
|
"title": "Profile Lookup",
|
||||||
"description": [
|
"description": [
|
||||||
"We have an array of objects representing different people in our contacts lists.",
|
"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.",
|
"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 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>",
|
"If <code>firstName</code> does not correspond to any contacts then return <code>\"No such contact\"</code>",
|
||||||
|
Reference in New Issue
Block a user