Answer
JavaScript testКонсоль выведет:
"Ford Mustang"
Объяснение:
Подробнее про this + "use strict": https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode#Securing_JavaScript
Код для проверки:
"use strict"
const carDetails = {
name: "Ford Mustang",
yearBought: 2005,
getName(){
return this.name
},
isRegistered: true
}
console.log(carDetails.getName())