Remove typo from instructions of challenge - Profile Lookup
parent
27a206e31a
commit
54fc1ca3d3
|
@ -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