If you want to extend the property of this object to a new object you should write your code in a class and constructor method. Example:
class MyObj {
constructor(name) {
this.name = name;
}
}
const myObj = new MyObj('I am Jhone');
class AnotherObj extends MyObj {
constructor(name...
Hello! Awesome people's,
I am Imran, I am a new member of this forum and am a newbie web developer, I am learning web programming -JavaScript and PHP. Hope I will get good support from this forum.