来源:https://stackoverflow.com/questions/57929143/javascript-when-to-use-a-class-vs-a-prototype 标签 javascript ecmascript-6 javascript-objects