Question 25 of 5843%
25
Consider the below code snippets, What will be the output?
function bark() {
console.log('Woof!');
}
bark.animal = 'dog';
console.log(bark.animal)
bark()
25/58
function bark() {
console.log('Woof!');
}
bark.animal = 'dog';
console.log(bark.animal)
bark()