conventions.io

Tech Challenge

2026-07-18

🔷

Daily Tech Challenge

TypeScript

medium
Question 1 of 5

What does the following code log?

Example
const a = 0 ?? 100;
const b = "" ?? "fallback";
const c = null ?? "x";
const d = undefined ?? 42;
console.log(a, b, c, d);

Saturday, July 18, 2026 · A new challenge drops every day