mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-22 21:08:12 +08:00
fix(curriculum): specify using function parameter in description (#61735)
Co-authored-by: Tiffany Grevious <tjgrevious@example.com>
This commit is contained in:
parent
6451b572f2
commit
b84dc47ecb
@ -13,7 +13,7 @@ Since this message will be used repeatedly throughout the workshop, it is best t
|
||||
|
||||
Create a function called `getShoppingListMsg` that takes an array as a parameter and returns the string `"Current Shopping List: "` followed by the contents of the provided array.
|
||||
|
||||
You can use template literals or string concatenation with the `+` operator to combine the string and the `shoppingList` array.
|
||||
You can use template literals or string concatenation with the `+` operator to combine the string with the array passed to the function.
|
||||
|
||||
# --hints--
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@ dashedName: step-14
|
||||
|
||||
In the previous lectures, you learned how to remove items from the end of an array using the `pop` method.
|
||||
|
||||
Here is reminder of how to use the `pop` method:
|
||||
Here is a reminder of how to use the `pop` method:
|
||||
|
||||
```js
|
||||
let array = [1, 2, 3, 4, 5];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user