SOLID Principles in JavaScript

How does this code violate the Dependency Inversion Principle?
class EmailNotifier {
  sendEmail(user, message) {
    // Email sending logic
  }
}

class UserService {
  constructor() {
    this.notifier = new EmailNotifier();
  }

  notifyUser(user, message) {
    this.notifier.sendEmail(user, message);
  }
}
Next Question (5/20)