main.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
Write a `getAnimalOutfit` function that takes in a single animal object as a parameter and returns a description of their outfit, like "blue pants and red shirt and white heels".
*/



/*
Write `feedAnimal` function that takes in a single animal object as a parameter and prints out "Zebra123 is eating bla and bla and bla."
*/



/*
Bonus #1: Randomly pick a different food to display.

Bonus #2: Implement a "pretty join" function so its "bla, bla, and bla."

Bonus #3: make an animal-themed insult generator.
*/
Native Browser JavaScript