📅  最后修改于: 2022-03-11 15:02:52.443000             🧑  作者: Mango
function newclasses(...classes) {
class end {
constructor() {
classes.forEach((value) => {
this[value.name] = new value();
});
}
}
return end;
}