From ae4f81cbab1dd146216f276cfa52ac2ac561e113 Mon Sep 17 00:00:00 2001 From: Jesse Lucas Date: Tue, 31 Mar 2020 14:21:21 -0400 Subject: [PATCH] docs: Change 'function' to 'method' for clarity that getHereos() is (#35998) intended as a class method Change 'function' to 'method' for clarity that getHereos() is intended as a class method in Tour of Heroes part 4. PR Close #35998 --- aio/content/tutorial/toh-pt4.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/tutorial/toh-pt4.md b/aio/content/tutorial/toh-pt4.md index d09f68d955..716e98dfeb 100644 --- a/aio/content/tutorial/toh-pt4.md +++ b/aio/content/tutorial/toh-pt4.md @@ -139,7 +139,7 @@ sets the `heroService` parameter to the singleton instance of `HeroService`. ### Add `getHeroes()` -Create a function to retrieve the heroes from the service. +Create a method to retrieve the heroes from the service.