// Function declaration.
function showFavoriteIceCream() {
const favIceCream = 'chocolate';
console.log(`My favorite ice cream is ${favIceCream}`);
}
// Let's assign a property.
showFavoriteIceCream.flavours = ['chocolate', 'vanilla', 'strawberry'];
// Let's log the showFavoriteIceCream function.
console.log(showFavoriteIceCream);
// Log
// { [Function: showFavoriteIceCream]
// flavours: [ 'chocolate', 'vanilla', 'strawberry' ] } -> property assigned