Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

[[Prototype]]

var proto = {    describe: function () {        return 'name: '+this.name;    }};var obj = {    [[Prototype]]: proto,    name: 'obj'};
Source by hackernoon.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
1+9 =