diff --git a/seed/challenges/advanced-bonfires.json b/seed/challenges/advanced-bonfires.json
index 2917dc893c..f824a479fc 100644
--- a/seed/challenges/advanced-bonfires.json
+++ b/seed/challenges/advanced-bonfires.json
@@ -9,20 +9,25 @@
"description": [
"Return true if the passed string is a valid US phone number",
"The user may fill out the form field any way they choose as long as it is a valid US number. The following are all valid formats for US numbers:",
- "555-555-5555, (555)555-5555, (555) 555-5555, 555 555 5555, 5555555555, 1 555 555 5555",
- "For this challenge you will be presented with a string such as \"800-692-7753\" or \"8oo-six427676;laskdjf\". Your job is to validate or reject the US phone number based on any combination of the formats provided above. The area code is required. If the country code is provided, you must confirm that the country code is \"1\". Return true if the string is a valid US phone number; otherwise false.",
+ "555-555-5555
",
+ "(555)555-5555
",
+ "(555) 555-5555
",
+ "555 555 5555
",
+ "5555555555
",
+ "1 555 555 5555
",
+ "For this challenge you will be presented with a string such as 800-692-7753
or 8oo-six427676;laskdjf
. Your job is to validate or reject the US phone number based on any combination of the formats provided above. The area code is required. If the country code is provided, you must confirm that the country code is 1
. Return true if the string is a valid US phone number; otherwise false.",
"Remember to use Read-Search-Ask if you get stuck. Try to pair program. Write your own code."
],
"tests": [
"assert.isBoolean(telephoneCheck(\"555-555-5555\") === 'should return a boolean.');",
"assert(telephoneCheck(\"1 555-555-5555\") === true, '1 555-555-5555
should return true.');",
- "assert(telephoneCheck(\"1 (555) 555-5555\") === true), '1 (555) 555-5555
should return true.';",
+ "assert(telephoneCheck(\"1 (555) 555-5555\") === true, '1 (555) 555-5555
should return true.');",
"assert(telephoneCheck(\"5555555555\") === true, '5555555555
should return true.');",
"assert(telephoneCheck(\"555-555-5555\") === true, '555-555-5555
should return true.');",
"assert(telephoneCheck(\"(555)555-5555\") === true, '(555)555-5555
should return true.');",
"assert(telephoneCheck(\"1(555)555-5555\") === true, '1(555)555-5555
should return true.');",
"assert(telephoneCheck(\"1 555 555 5555\") === true, '1 555 555 5555
should return true.');",
- "assert(telephoneCheck(\"555-555-5555\") === true), '555-555-5555
should return true.';",
+ "assert(telephoneCheck(\"555-555-5555\") === true, '555-555-5555
should return true.');",
"assert(telephoneCheck(\"1 456 789 4444\") === true, '1 456 789 4444
should return true.');",
"assert(telephoneCheck(\"123**&!!asdf#\") === false, '123**&!!asdf#
should return false.');",
"assert(telephoneCheck(\"55555555\") === false, '55555555
should return false.');",
@@ -74,16 +79,16 @@
],
"challengeSeed": [
"function sym(args) {",
- " return arguments;",
+ " return args;",
"}",
"",
"sym([1, 2, 3], [5, 2, 1, 4]);"
],
"tests": [
- "assert.sameMembers(sym([1, 2, 3], [5, 2, 1, 4]), [3, 5, 4], 'should return an array of unique values');",
- "assert.sameMembers(sym([1, 2, 5], [2, 3, 5], [3, 4, 5]), [1, 4, 5], 'should return the symmetric difference of the given arrays');",
- "assert.sameMembers(sym([1, 1, 2, 5], [2, 2, 3, 5], [3, 4, 5, 5]), [1, 4, 5], 'should return an array of unique values');",
- "assert.sameMembers(sym([1, 1]), [1], 'should return an array of unique values');"
+ "assert.sameMembers(sym([1, 2, 3], [5, 2, 1, 4]), [3, 5, 4], '[1, 2, 3], [5, 2, 1, 4]
should return [3, 5, 4]
.');",
+ "assert.sameMembers(sym([1, 2, 5], [2, 3, 5], [3, 4, 5]), [1, 4, 5], '[1, 2, 5], [2, 3, 5], [3, 4, 5]
should return [1, 4, 5]
');",
+ "assert.sameMembers(sym([1, 1, 2, 5], [2, 2, 3, 5], [3, 4, 5, 5]), [1, 4, 5], '[1, 1, 2, 5], [2, 2, 3, 5], [3, 4, 5, 5]
should return [1, 4, 5]
.');",
+ "assert.sameMembers(sym([1, 1]), [1], '[1, 1]
should return [1]
.');"
],
"MDNlinks": [
"Array.reduce()",