Skip to main content

Guess the Output · #38 · 2026-05-12

What does this print?

JavaScript ·Difficulty 3/3

How to play

Read the code snippet and pick the correct output from four choices. One shot — no take-backs. Press 1–4 or click to answer.

const o = { 2: 'b', 1: 'a', c: 'd', b: 'c' };
console.log(Object.keys(o));

Loading your progress...

Press 1 through 4, or tap a numbered choice, to answer. Back to hub