Factory & Constructor Functions

What problem might this code cause?
function Person(name) {
  if (!name) {
    throw new Error('Name is required');
  }
  this.name = name;
}

try {
  const person = Person('John');
} catch (error) {
  console.error('Failed to create person');
}
Next Question (10/20)