- All data are objects
- To get an object, not by instantiating the class, but by finding an object as a prototype and cloning it.
- The object remembers its prototype.
- If the object cannot respond to a request, it delegates the request to its own prototype.
Basic Rules of Prototyping
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=325106804&siteId=291194637
Recommended
Ranking