Skip to content

Commit

Permalink
Merge pull request #3150 from natac13/fix-mispelling-#3149
Browse files Browse the repository at this point in the history
Grammatical error: fix mispelling of falsey to falsy
  • Loading branch information
Anton Strömkvist committed Sep 8, 2015
2 parents 9e692ab + 3361599 commit c5423c4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions seed/challenges/basic-bonfires.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand All @@ -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",
Expand Down

0 comments on commit c5423c4

Please sign in to comment.