mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-14 22:01:48 -04:00
@@ -236,7 +236,7 @@
|
||||
"filter is a useful method that can filter out values that don't match a certain criteria",
|
||||
"Let's remove all the values greater than five",
|
||||
"<code>array = array.filter(function(val) {</code>",
|
||||
"<code>  return val<4;</code>",
|
||||
"<code>  return val <= 5;</code>",
|
||||
"<code>});</code>"
|
||||
],
|
||||
"tests":[
|
||||
|
||||
Reference in New Issue
Block a user