diff --git a/seed/challenges/01-front-end-development-certification/object-oriented-and-functional-programming.json b/seed/challenges/01-front-end-development-certification/object-oriented-and-functional-programming.json index 992908b0a7..f80a377680 100644 --- a/seed/challenges/01-front-end-development-certification/object-oriented-and-functional-programming.json +++ b/seed/challenges/01-front-end-development-certification/object-oriented-and-functional-programming.json @@ -444,7 +444,8 @@ "If no compare (callback) function is passed in, it will convert the values to strings and sort alphabetically.", "Here is an example of using sort with a compare function that will sort the elements from smallest to largest number:", "
var array = [1, 12, 21, 2];", - "Use
array.sort(function(a, b) {
return a - b;
});
sort
to sort array
from largest to smallest."
+ "Use sort
to sort array
from largest to smallest.",
+ "Further explanation on the .sort()
method can be found here."
],
"challengeSeed": [
"var array = [1, 12, 21, 2];",