What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-02-02 21:20:42
what is prototype in javascript
/*Prototype is used to add properties/methods to a constructor function as in example below */ function ConstructorFunction(name){ this.name = name //referencing to current executing object } ConstructorFunction.prototype.age = 18 let objectName = new ... Add solution -
C++ 2021-10-08 10:51:09
function prototype
/*Prototype is used to add properties/methods to a constructor function as in example below */ function ConstructorFunction(name){ this.name = name //referencing to current executing object } ConstructorFunction.prototype.age = 18 let objectName = new ... Add solution -
Javascript 2021-10-03 17:24:04
javascript prototype explained
/*Prototype is used to add properties/methods to a constructor function as in example below */ function ConstructorFunction(name){ this.name = name //referencing to current executing object } ConstructorFunction.prototype.age = 18 let objectName = new ... Add solution -
Javascript 2021-09-15 19:21:04
function prototype javascript
/*Prototype is used to add properties/methods to a constructor function as in example below */ function ConstructorFunction(name){ this.name = name //referencing to current executing object } ConstructorFunction.prototype.age = 18 let objectName = new ... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5