Fungsi Dasar JavaScript (param dipahami)

function favoriteAnimal(animal) {
  console.log(animal + " is my favorite animal!")
}

favoriteAnimal('Goat')
Lively Ladybird