LLD - Advanced LLD Concepts
Given the code below, what will
serviceA.getName() output?class ServiceA {
getName() { return 'Service A'; }
}
injector.register(ServiceA);
const serviceA = injector.get(ServiceA);
console.log(serviceA.getName());