LLD - Advanced LLD Concepts
What is wrong with this dependency injection usage?
class Service {
constructor(repo) {
this.repo = repo;
}
}
const service = new Service();