conventions.io

Tech Challenge

2026-09-28

🟨

Daily Tech Challenge

JavaScript

medium
Question 1 of 5

How many times does the callback run, and what does this code log?

Example
let calls = 0;
const found = [3, 8, 12, 5].some(n => {
  calls++;
  return n > 7;
});
console.log(found, calls);

Monday, September 28, 2026 · A new challenge drops every day