let aboutMark = {
firstName: "Mark",
lastName: "Miller",
height: 1.69,
weight: 78,
bmiCalculator: function(){
this.markBMI = (this.weight / (this.height * this.height))
return this.markBMI
}
};
aboutMark.bmiCalculator()
console.log(aboutMark);
What i want to do here is inside aboutMark object i want to add an property and i want the values to be equal to firstName + lastName. How do we do it.
bmi?