conventions.io

Tech Challenge

2026-06-07

🟨

Daily Tech Challenge

JavaScript

medium
Question 1 of 5

What does this code log to the console?

Example
const data = {
  id: 1,
  name: undefined,
  greet: function () { return 'hi'; },
  tags: ['a', 'b']
};
console.log(JSON.stringify(data));

Sunday, June 7, 2026 · A new challenge drops every day