Skip to content

如何用 JS 实现继承

继承

  • class 继续
  • prototype 继承,不推荐

基于 MIT 许可发布