What is the use of being familiar with the prototype chain of js in development?

what are the benefits of being familiar with the prototype chain in actual development?
what are the benefits of object-oriented implementation and direct implementation


encapsulates some routines for dealing with problems, and the reuse method


can inherit


, which is the engineering ability of abstracting complex problems into a relatively simple model. Prototype chain is a concrete implementation of javascript language for object-oriented. So, in popular terms, it may be useful when you solve complex problems; if it is simple, it is up to you to use it or not.


as mentioned above, it doesn't matter if you don't understand prototype chain when implementing simple functions, but when writing complex applications, moderate use of prototype chain can simplify code, decouple engineering, and encapsulate interfaces.


familiar with the meaning of the prototype chain, I think it is to understand the design intention of the js author, and the underlying engine will maximize the syntax of the author's design
if one person writes, the function can be realized
the group can write code, which requires a standard, a writing method that everyone must abide by and agree with, and the code structure is clear. Oop is one of the writing methods that everyone follows

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b379ff-34476.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b379ff-34476.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?