Assertion: prototype's function | /r/HasProperty | alert
Facets:
Source sentences:
text: Example: Object's prototype function Student() { this .name = 'John' ; this .gender = 'M' ; } var studObj = new Student(); Student.prototype.sayHi= function(){ alert( "Hi" ); }; var studObj1 = new Student(); var proto = Object.getPrototypeOf(studObj1);
text: honk = function () { alert ( this .