Fix #1790
This commit is contained in:
@ -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>  return(val<4);</code>",
|
"<code>  return(val<4);</code>",
|
||||||
"<code>});</code>"
|
"<code>});</code>"
|
||||||
|
Reference in New Issue
Block a user