PrepAway - Latest Free Exam Questions & Answers

It contains one method: showOne

function empObject(name, age, department) {
this.name = name;
this.age = age;
this.department = department;
this.showOne = showOne;
}
The code above Defines a constructor function for a custom object named empObject. It contains
three properties: name, age, and department. It contains one method: showOne

PrepAway - Latest Free Exam Questions & Answers

A.
TRUE

B.
FALSE


Leave a Reply