From 1aac3c7fecef8eeaa75615190dd7bf39271fd1a0 Mon Sep 17 00:00:00 2001 From: db Date: Sun, 22 Jan 2017 21:59:07 +0000 Subject: [PATCH] Update 'firstName' parameter changed to 'name' --- .../basic-javascript.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) mode change 100644 => 100755 seed/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json diff --git a/seed/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json b/seed/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json old mode 100644 new mode 100755 index 726a3506d85..9a868611b39 --- a/seed/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json +++ b/seed/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json @@ -5336,11 +5336,11 @@ "title": "Profile Lookup", "description": [ "We have an array of objects representing different people in our contacts lists.", - "A lookUpProfile function that takes firstName and a property (prop) as arguments has been pre-written for you.", - "The function should check if firstName is an actual contact's firstName and the given property (prop) is a property of that contact.", + "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 firstName 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 firstName then return \"No such 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\"" ], "releasedOn": "January 8, 2016", "challengeSeed": [ @@ -5373,7 +5373,7 @@ "];", "", "", - "function lookUpProfile(firstName, prop){", + "function lookUpProfile(name, prop){", "// Only change code below this line", "", "// Only change code above this line",