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:

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

Stats:

CreatedJul 4, 2017
PublishedJul 4, 2017
Warriors Trained1228
Total Skips20
Total Code Submissions1744
Total Times Completed863
JavaScript Completions732
TypeScript Completions171
Total Stars8
% of votes with a positive feedback rating85% of 189
Total "Very Satisfied" Votes143
Total "Somewhat Satisfied" Votes37
Total "Not Satisfied" Votes9
Total Rank Assessments14
Average Assessed Rank
7 kyu
Highest Assessed Rank
7 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • brunolm Avatar
  • Blind4Basics Avatar
  • Voile Avatar
Ad