← Back to archive

Stdle #161 · coercion · 2026-11-08

What does console.log(Math.trunc(4.9), Math.floor(-0.5)) output?

A past puzzle — fully playable. 4 attempts, hints on wrong guesses.

console.log(Math.trunc(4.9), Math.floor(-0.5))
Coercion
4 attempts left

Answer & explanation