How do you define an OOP class in JavaScript?

前端 未结 7 694
野性不改
野性不改 2020-12-20 19:32

Based on my observation, the book that I am reading about JavaScript states that there\'s an OOP with JavaScript? It doesn\'t tell much about it, I mean it wasn\'t explained

7条回答
  •  执笔经年
    2020-12-20 20:19

    I recommend this book for a concise, precise explanation of both how to use JS's prototypal inheritance as well as how to emulate classical OO inheritance in JS.

    JavaScript: The good parts

提交回复
热议问题