Skip to content
This repository has been archived by the owner on Oct 20, 2018. It is now read-only.

Commit

Permalink
Merge pull request #12 from Takumar/fix-bf-falsy-name
Browse files Browse the repository at this point in the history
Correct 'Falsy bouncer' link and description
  • Loading branch information
SaintPeter committed Nov 18, 2015
2 parents 8a7b987 + 0db78ba commit 68697a0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions nap/data/seed/challenges/basic-bonfires.json
Original file line number Diff line number Diff line change
Expand Up @@ -563,12 +563,12 @@
},
{
"id": "adf08ec01beb4f99fc7a68f2",
"name": "Bonfire: Falsey Bouncer",
"dashedName": "bonfire-falsey-bouncer",
"name": "Bonfire: Falsy Bouncer",
"dashedName": "bonfire-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 [RSAP](//github.com/FreeCodeCamp/freecodecamp/wiki/How-to-get-help-when-you-get-stuck) if you get stuck. Try to pair program. Write your own code."
],
"challengeSeed": [
Expand All @@ -580,9 +580,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 Expand Up @@ -1526,4 +1526,4 @@
"descriptionPt": []
}
]
}
}

0 comments on commit 68697a0

Please sign in to comment.