conventions.io

Tech Challenge

2026-10-18

🟨

Daily Tech Challenge

JavaScript

medium
Question 1 of 5

What three values does this typed-array precision code log?

Example
const f = new Float32Array([0.1]);

console.log(
  f[0] === 0.1,
  Math.fround(0.5) === 0.5,
  Math.fround(0.1) === f[0]
);

Sunday, October 18, 2026 · A new challenge drops every day