// Какой результат выведется в консоль?
function getMessage() {
return () => {
console.log(this.text);
};
}
const obj1 = { text: 'Hello', getMessage };
const obj2 = { text: 'World' };
obj1.getMessage().call(obj2);
WebDEV #test #Frontend
Выберите правильный вариант 👇🏼