fix mispelling of falsey to falsy

closes #3149
This commit is contained in:
natac13
2015-09-07 13:09:51 -04:00
parent e7e6bbb174
commit 3361599d3a

View File

@ -531,11 +531,11 @@
},
{
"id": "adf08ec01beb4f99fc7a68f2",
"title": "Falsey Bouncer",
"title": "Falsy Bouncer",
"difficulty": "1.50",
"description": [
"Remove all falsey values from an array.",
"Falsey values in javascript are false, null, 0, \"\", undefined, and NaN.",
"Remove all falsy values from an array.",
"Falsy values in javascript are false, null, 0, \"\", undefined, and NaN.",
"Remember to use <a href='//github.com/FreeCodeCamp/freecodecamp/wiki/How-to-get-help-when-you-get-stuck' target='_blank'>Read-Search-Ask</a> if you get stuck. Write your own code."
],
"challengeSeed": [
@ -547,9 +547,9 @@
"bouncer([7, 'ate', '', false, 9]);"
],
"tests": [
"assert.deepEqual(bouncer([7, 'ate', '', false, 9]), [7, 'ate', 9], 'should remove falsey values');",
"assert.deepEqual(bouncer(['a', 'b', 'c']), ['a', 'b', 'c'], 'should return full array if no falsey elements');",
"assert.deepEqual(bouncer([false, null, 0]), [], 'should return empty array if all elements are falsey');"
"assert.deepEqual(bouncer([7, 'ate', '', false, 9]), [7, 'ate', 9], 'should remove falsy values');",
"assert.deepEqual(bouncer(['a', 'b', 'c']), ['a', 'b', 'c'], 'should return full array if no falsy elements');",
"assert.deepEqual(bouncer([false, null, 0]), [], 'should return empty array if all elements are falsy');"
],
"MDNlinks": [
"Boolean Objects",