mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-25 23:02:05 -04: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:
@@ -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"]
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
Reference in New Issue
Block a user