CodePeekFree · no signup

What does it print?

Three snippets. Predict the output, then trace it.

YOUR COERCION CHECKQuestion 1 of 3

String coercion

What does this JavaScript print? Each output line is a separate console.log call. String outputs are shown without quotes.

console.log(1 + "2" + 3);
Choose the output

Open the interactive challenge ↗Continue free practice on CodePeek ↗Opens in a new tab

No signup. These three questions reuse the free starter set. Quiz answers stay in page memory only; reloading clears them and saved practice progress is unchanged. Fixed examples, not a code runner. Website-visit and performance measurement still apply. Privacy & data.