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

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

A.
TRUE

B.
FALSE



Leave a Reply 0

Your email address will not be published. Required fields are marked *