13 challenges match these filters
total_score(scores, names) should add up the scores for the named players, treating anyone without a score as 0.
Null / Undefined
first_match(items, target) should return the first matching item, or -1 when there is no match.
Null / Undefined
describe_temp(readings, station) should report 'recorded' whenever that station reported a temperature — including a reading of 0 degrees — and 'missing' only when the station is absent.
Null / Undefined
cityOf(user) should return the user's city, or "unknown" if any part of the path is missing.
Null / Undefined
priceOf(items, name) should return the named item's price, or 0 when there is no such item.
Null / Undefined
greet(user) should greet the user by name, falling back to "guest" when no name is available.
Null / Undefined
retries_for(config) should use config['retries'] when present and default to 3 when it is missing. A value of 0 means 'do not retry'.
Null / Undefined
retriesFor(settings) should use settings.retries when it is provided and fall back to 3 when it is missing. Setting retries to 0 means 'do not retry'.
Null / Undefined
firstItemName(items) should return the name of the first item, or "None" when the list is empty.
Null / Undefined
sumScores(players) should add up every player's score, treating a player with no score as 0.
Null / Undefined
full_name(user) should join a user's name parts with single spaces, skipping the middle name when there isn't one.
Null / Undefined
get_setting(config, key) should return the value for a key, or the string "default" when that key isn't present.
Null / Undefined
getUserCity(user) should return the user's city, or "Unknown" if the user has no address on file.
Null / Undefined