From 94f9ce6b6ab20f631d33fc4ec097c69bc2392d92 Mon Sep 17 00:00:00 2001 From: Angad Singh <108326021+angad-singhh@users.noreply.github.com> Date: Wed, 27 Mar 2024 20:09:31 +0530 Subject: [PATCH] fix(curriculum): improved instructions for better understanding of function call (#54228) --- .../62a8b3cc436db8139cc5fc09.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a8b3cc436db8139cc5fc09.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a8b3cc436db8139cc5fc09.md index 2e4d61367d7..140c6f36fe4 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a8b3cc436db8139cc5fc09.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a8b3cc436db8139cc5fc09.md @@ -7,7 +7,9 @@ dashedName: step-61 # --description-- -You now need to pass the `location` argument into the `update` call. You pass arguments by including them within the parentheses of the function call. For example, calling `myFunction` with an `arg` argument would look like: +Now it is time to use your `update` function. Pass in your `locations` array into the `update` function call. + +You pass arguments by including them within the parentheses of the function call. For example, calling `myFunction` with an `arg` argument would look like: ```js myFunction(arg)