From 66002b3abb9f0e6ec2e54088438e0bb0f7699b13 Mon Sep 17 00:00:00 2001 From: Raj Thakur Date: Wed, 29 Jun 2016 01:19:31 +0530 Subject: [PATCH] Added MDN Link for Aarray.Prototype.sort() for furthe reference --- .../object-oriented-and-functional-programming.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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];
array.sort(function(a, b) {
  return a - b;
});
", - "Use 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];",