Object.setPrototypeOf(teachingSupport , teacher)
String.prototype.truelength = function() {
console.log(`true length is: ${this.trim().length}`);
}
let myname = " hitesh "
Object.setPrototypeOf(teachingSupport , teacher)
String.prototype.truelength = function() {
console.log(`true length is: ${this.trim().length}`);
}
let myname = " hitesh "