conventions.io

Tech Challenge

2026-09-06

🔷

Daily Tech Challenge

TypeScript

medium
Question 1 of 5

With `strict` enabled, what does the compiler do with the two declarations below?

Example
const port = process.env.PORT ?? "3000";                  // A
const level = process.env.LEVEL || "info" ?? "debug";      // B

Sunday, September 6, 2026 · A new challenge drops every day