cf.completefrontend

Predict the outputEasy

What do these string comparisons with < log?

What does this log?
console.log("10" < "9");
console.log("10" < 9);
console.log("apple" < "apricot");
console.log("Zebra" < "apple");
console.log("abc" < "abcd");
console.log("a".localeCompare("B") < 0);

The answer

Work out every line it logs, in order. Then check.

Checking your sign-in…