fixes filter function return conditional

closes #3031
This commit is contained in:
Natac13
2015-09-03 14:02:44 -04:00
parent fe61b1618c
commit 9496152e00

View File

@ -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>&thinsp;&thinsp;return val<4;</code>",
"<code>&thinsp;&thinsp;return val <= 5;</code>",
"<code>});</code>"
],
"tests":[