This commit is contained in:
benmcmahon100
2015-08-16 21:06:42 +01:00
parent 5e3de0be68
commit 4b4b4752d4

View File

@ -227,7 +227,7 @@
"difficulty":0, "difficulty":0,
"description":[ "description":[
"filter is a useful method that can filter out values that don't match a certain criteria", "filter is a useful method that can filter out values that don't match a certain criteria",
"Let's remove all the values less than six", "Let's remove all the values greater than six",
"<code>array = array.filter(function(val) {</code>", "<code>array = array.filter(function(val) {</code>",
"<code>&thinsp;&thinsp;return(val<4);</code>", "<code>&thinsp;&thinsp;return(val<4);</code>",
"<code>});</code>" "<code>});</code>"