fix(curriculum): improved instructions for better understanding of function call (#54228)

This commit is contained in:
Angad Singh
2024-03-27 15:39:31 +01:00
committed by GitHub
parent 011c050cd3
commit 94f9ce6b6a
@@ -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)