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:
Parker Rhodes 2026-03-15 11:13:15 -07:00 committed by GitHub
parent 5d6a286837
commit da0eea689e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"]
```
:::