• 1. You forgot to use new when creating a new promise using new Promise(resolver) syntax.
  • 2. You are trying to subclass Promise