recently, I have been trying to develop my own wheels with native js. The first project is paging, but because I am not familiar with the encapsulation mode of native js plug-ins, I would like to ask you to see if my writing rules are not standard? There is paging logic encapsulation, on the existing basis can be optimized?
https://github.com/csd7583715.