mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-19 21:09:51 +08:00
fix(curriculum): Updated 'How Do You Access and Update Elements in an Array?' to no longer use incorrect fruit (#66474)
This commit is contained in:
parent
5d6a286837
commit
da0eea689e
@ -49,7 +49,7 @@ In this example, we've replaced `banana` with `blueberry` at index `1`. This met
|
||||
```js
|
||||
let fruits = ["apple", "banana", "cherry"];
|
||||
fruits[3] = "date";
|
||||
console.log(fruits); // ["apple", "blueberry", "cherry", "date"]
|
||||
console.log(fruits); // ["apple", "banana", "cherry", "date"]
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
Loading…
Reference in New Issue
Block a user