Skip to content

Commit

Permalink
saved work
Browse files Browse the repository at this point in the history
  • Loading branch information
TeyPeyPey committed Jan 28, 2025
1 parent 2452719 commit af44aee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion data.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ randomAnimal = animals[getRandom(animals)];
console.log(randomAnimal);
friends.push(randomAnimal.name);
console.log(friends);

animals[getRandom(animals)].friends = friends;
console.log(animals);


/**
Expand Down

0 comments on commit af44aee

Please sign in to comment.