conventions.io

Tech Challenge

2026-06-22

🟨

Daily Tech Challenge

JavaScript

medium
Question 1 of 5

What does this code log?

Example
const s = 'a1b2c3';
const matches = [...s.matchAll(/(?<L>[a-z])(?<N>\d)/g)];
console.log(matches.length, matches[1].groups.L, matches[1].groups.N);

Monday, June 22, 2026 · A new challenge drops every day