- A the global object
- B the function itself
- C the object that the function is a property of
- D the object that the function is called on
JavaScript MCQ Javascript Functions MCQ
⚠ Report ✓ Question Verified Copy Link
const user = {
name: 'John',
greet: () => {
console.log('Hello, ' + this.name + '!');
}
}
user.greet();
Learn More MCQ Questions from JavaScript MCQ Javascript Functions MCQ