conventions.io

Tech Challenge

2026-07-27

🟨

Daily Tech Challenge

JavaScript

medium
Question 1 of 5

What three values does this code log?

Example
class Point {
  constructor(x) { this.x = x; }
  show() {}
}

const p = new Point(1);
console.log(
  Object.keys(p),
  Object.keys(Point.prototype).length,
  Object.getOwnPropertyNames(Point.prototype)
);

Monday, July 27, 2026 · A new challenge drops every day