Programming OOP in Javascript - Properly

后端 未结 6 1449
旧时难觅i
旧时难觅i 2021-02-06 10:46

I\'m interesting in improving my javascript code to be properly OOP.... currently I tend to do something like this:

jQuery(document).ready(function () {
    Page         


        
6条回答
  •  一个人的身影
    2021-02-06 11:37

    The top 3 I suggest to read is

    1. JavaScript and Object Oriented Programming (OOP)

    2. Classical Inheritance in JavaScript

    3. Prototypal Inheritance in JavaScript

    Have a nice reading!

提交回复
热议问题