fixed line break issue in filter challenge
This commit is contained in:
parent
f404cde594
commit
c4579427fe
@ -397,7 +397,7 @@
|
||||
"The following code is an example of using <code>filter</code> to remove array elements that are equal to five:",
|
||||
"Note: We omit the second and third arguments since we only need the value",
|
||||
"<blockquote>array = array.filter(function(val) {<br> return val !== 5;<br>});</blockquote>",
|
||||
"Use <code>filter</code> to create a new array with all the values from <code>oldArray</code> which are less than 6.<br><code>oldArray</code> should not change."
|
||||
"Use <code>filter</code> to create a new array with all the values from <code>oldArray</code> which are less than 6. The <code>oldArray</code> should not change."
|
||||
],
|
||||
"challengeSeed": [
|
||||
"var oldArray = [1,2,3,4,5,6,7,8,9,10];",
|
||||
|
Loading…
x
Reference in New Issue
Block a user