$ ./guess_the_languageProblem Solving — predict the output
Problem Solving — predict the output · easy · #7

What is the output?

const ok: boolean = 5 > 2;
console.log(ok);
  1. true
  2. True
  3. 1
  4. yes
JavaScript booleans print lowercase as true.
Play Problem Solving ▸