当前位置 博文首页 > cuk0051的博客:JavaScript super关键字
When we work with classes in JavaScript, it’s common to use the super
keyword.
当我们使用JavaScript处理类时,通常使用super
关键字。
In this post I want to clarify what’s it useful for.
在这篇文章中,我想阐明它的作用。
Suppose you have a class Car
:
假设您有一个Car
类:
class Car {
}
cs