7 kyu
Truthy and Falsy
732 of 863brunolm
Description:
In JavaScript there are truthy and falsy values:
- truthy: a value that when evaluated in a boolean context returns true
- falsy: a value that when evaluated in a boolean context returns false
MDN links:
- https://developer.mozilla.org/en/docs/Glossary/Truthy
- https://developer.mozilla.org/en-US/docs/Glossary/Falsy
Your task
You are given two empty arrays (truthy
and falsy
) and you have to fill this array with at least 5 elements in each which will evaluate to true or false accordingly.
Fundamentals
Language Features
Similar Kata:
Stats:
Created | Jul 4, 2017 |
Published | Jul 4, 2017 |
Warriors Trained | 1228 |
Total Skips | 20 |
Total Code Submissions | 1744 |
Total Times Completed | 863 |
JavaScript Completions | 732 |
TypeScript Completions | 171 |
Total Stars | 8 |
% of votes with a positive feedback rating | 85% of 189 |
Total "Very Satisfied" Votes | 143 |
Total "Somewhat Satisfied" Votes | 37 |
Total "Not Satisfied" Votes | 9 |
Total Rank Assessments | 14 |
Average Assessed Rank | 7 kyu |
Highest Assessed Rank | 7 kyu |
Lowest Assessed Rank | 8 kyu |