prototype in Javascript
prototype in Javascript: example: let object1= { name: "aditya", city:"blr", age: "23" }; let object2 = { name: "sameer", gender: "male" }; object1.proto= object2; // inherited the property the object2 into the object1, we can access the proper...
Jul 30, 20211 min read75
