Valid 70-480 Dumps shared by ExamDiscuss.com for Helping Passing 70-480 Exam! ExamDiscuss.com now offer the newest 70-480 exam dumps, the ExamDiscuss.com 70-480 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com 70-480 dumps with Test Engine here:
You are creating a class named Consultant that must inherit from the Employee class. The Consultant class must modify the inherited PayEmployee method. The Employee class is defined as follows. function Employee() {} Employee.prototype.PayEmployee = function ( ){ alert('Hi there!'); } Future instances of Consultant must be created with the overridden method. You need to write the code to implement the Consultant class. Which code segments should you use? (Each correct answer presents part of the solution. Choose two.)
Correct Answer: B,C
Explanation/Reference: * Object.prototype.constructor Returns a reference to the Object function that created the instance's prototype. Note that the value of this property is a reference to the function itself, not a string containing the function's name. The value is only read-only for primitive values such as 1, true and "test". * The constructor property is created together with the function as a single property of func.prototype. Reference: Object.prototype.constructor