Question from the Angular - Fundamentals test

How do I call the getUser method in Angular and what does it return?

Easy

Into a file user.ts, what can be told about this function ?

getUser(id: string): User {
  return this.userService.getUser(id);
}
Author: Fabien MacipStatus: PublishedQuestion passed 117 times
Edit
1
Community EvaluationsNo one has reviewed this question yet, be the first!