Back to Freecodecamp

Step 3

curriculum/challenges/english/blocks/workshop-logic-checker-app/690a562fd611e8155599ce98.md

latest500 B
Original Source

--description--

Change the assignment of truthyOrFalsy by setting its value to "freeCodeCamp". You will still see true logged to the console because a non-empty string is a truthy value.

--hints--

Your truthyOrFalsy variable should have the value "freeCodeCamp".

js
assert.strictEqual(truthyOrFalsy, "freeCodeCamp");

--seed--

--seed-contents--

js
--fcc-editable-region--
const truthyOrFalsy = true;
--fcc-editable-region--

console.log(Boolean(truthyOrFalsy));