Что выведет этот код?let user = {name: “Joe”,surname: “Black”,get fullName() { return `${this.name} ${this.surname}`;}}user.fullName = “Kate Footer”;alert(user.surname);
- Black
- Cooper
- Joe Black
- Kate Footer
- undefined
Для просмотра статистики ответов нужно
залогиниться.