question: in some current projects, such as the first column of the first row of the table is fixed, the form radio and all selections are implemented by themselves using js (not considering using the framework for the time being). So how to effectively encapsulate public methods? Make it possible to reuse in many projects. I have seen a lot of js object-oriented programming, but there is still not a clear idea to encapsulate the existing functions, so how do you improve your ability in this area?