Основная функция JavaScript (PARAM понято)

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

favoriteAnimal('Goat')
Lively Ladybird