mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-09-24 23:01:18 +08:00
fix(curriculum): improved instructions for better understanding of function call (#54228)
This commit is contained in:
+3
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user