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

What is the output?

console.log('b' > 'a', 'B' > 'a');
  1. true false
  2. true true
  3. false false
  4. false true
Strings compare by code point, and every uppercase letter sorts below every lowercase one.
Play Problem Solving ▸