摘要: 方式一 let Car = (function () { function Car() { } Car.prototype.moveCar = function () { } return Car; })(); 方式二 class Car { constructor() { } moveCar() 阅读全文
posted @ 2024-02-02 11:23 0611163 阅读(7) 评论(0) 推荐(0) 编辑