Skip to content

Commit

Permalink
Merge pull request freeCodeCamp#10475 from erictleung/fix/clarify-eve…
Browse files Browse the repository at this point in the history
…rything-be-true

Clarify Everything Be True on truthy and falsy
  • Loading branch information
ltegman authored Sep 7, 2016
2 parents fb47006 + 2e6d5a1 commit eba29a7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
4 changes: 3 additions & 1 deletion seed/bonfireMDNlinks.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ var links = {
"Arithmetic Operators": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Arithmetic_Operators",
"Comparison Operators": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Comparison_Operators",
"Details of the Object Model": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Details_of_the_Object_Model",
"For Loops": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for"
"For Loops": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for",
"Truthy": "https://developer.mozilla.org/en-US/docs/Glossary/Truthy",
"Falsy": "https://developer.mozilla.org/en-US/docs/Glossary/Falsy"
};

module.exports = links;
Original file line number Diff line number Diff line change
Expand Up @@ -1049,8 +1049,10 @@
"id": "a10d2431ad0c6a099a4b8b52",
"title": "Everything Be True",
"description": [
"Check if the predicate (second argument) is truthy on all elements of a collection (first argument).",
"Remember, you can access object properties through either dot notation or [] notation.",
"Check if the predicate (second argument) is <dfn>truthy</dfn> on all elements of a collection (first argument).",
"In other words, you are given an array collection of objects. The predicate <code>pre</code> will be an object property and you need to return <code>true</code> if its value is <code>truthy</code>. Otherwise, return <code>false</code>.",
"In JavaScript, <code>truthy</code> values are values that translate to <code>true</code> when evaluated in a Boolean context.",
"Remember, you can access object properties through either dot notation or <code>[]</code> notation.",
"Remember to use <a href='http://forum.freecodecamp.com/t/how-to-get-help-when-you-are-stuck/19514' target='_blank'>Read-Search-Ask</a> if you get stuck. Try to pair program. Write your own code."
],
"challengeSeed": [
Expand All @@ -1077,6 +1079,10 @@
],
"isRequired": true,
"type": "bonfire",
"MDNlinks": [
"Truthy",
"Falsy"
],
"challengeType": 5,
"translations": {
"es": {
Expand Down

0 comments on commit eba29a7

Please sign in to comment.