From d12e25f250b91afc01a43af0067d7026c39473fa Mon Sep 17 00:00:00 2001 From: Branden Byers Date: Sun, 15 Feb 2015 20:46:36 -0600 Subject: [PATCH] Update sorted union bonfire description A camper requested more clarification on this challenge. Re-reading it, it was convoluted as to how the returned array should have been ordered. --- seed_data/bonfires.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/seed_data/bonfires.json b/seed_data/bonfires.json index 7b02f05bf04..956cb5c2db7 100644 --- a/seed_data/bonfires.json +++ b/seed_data/bonfires.json @@ -310,7 +310,9 @@ "name": "Sorted Union", "difficulty": "2.07", "description": [ - "Write a function that takes two or more arrays and returns a new array of unique values sorted in order." + "Write a function that takes two or more arrays and returns a new array of unique values in the order of the original provided arrays.", + "The unique numbers should be sorted by their original order, but the final array should not be sorted in numerical order.", + "Check the assertion tests for examples." ], "challengeSeed": "function unite(arr) {\n return arr;\r\n}\n\nunite([1, 2, 3], [5, 2, 1, 4], [2, 1]);", "tests": [ @@ -564,4 +566,4 @@ "assert.deepEqual(inventory([[0, 'Bowling Ball'], [0, 'Dirty Sock'], [0, 'Hair pin'], [0, 'Microphone']], [[1, 'Hair Pin'], [1, 'Half-Eaten Apple'], [1, 'Bowling Ball'], [1, 'Toothpaste']]), [[1, 'Bowling Ball'], [1, 'Dirty Sock'], [1, 'Hair pin'], [1, 'Half-Eaten Apple'], [1, 'Microphone'], [1, 'Toothpaste']]);" ] } -] \ No newline at end of file +]