Prototype inheritance and class inheritance
First of all, let's talk about class. In fact, there is no class in JS. Class is just syntactic sugar, and the essence is still function.
class Person {}
Person instanceof Function // true
In the previous chapter we explained the knowledge points of ...
xiaobo.blog3 min read
wang xiao bo
programmer
nice