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