PrepAway - Latest Free Exam Questions & Answers

Which code segment should you use to call the base method?

You are developing a custom tooltip control that inherits from an existing WinJS tooltip
control. The custom control overrides the open ( ) method of the base control to extend the
functionality. The following code segment depicts the structure of the method override.
Open: function (type) {
• • •
}
You need to ensure that the base method executes at the start of the override.
Which code segment should you use to call the base method?

PrepAway - Latest Free Exam Questions & Answers

A.
this.base.open ( ) ;

B.
this .super.open ( ) ;

C.
base.open( ) ;

D.
this.prototype.open( );


Leave a Reply