$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · medium · #185

Fill in the blank

// keep only the truthy values
const clean = rows.filter(____);

Answer: Boolean (also accepted: Boolean, Boolean())

Passing Boolean as the predicate drops every falsy entry.
Play Problem Solving ▸