JAVAScript自定义一个对象function Student(id,name) { this.id = id this.name =name this.total =function (num1,num2) { return num1+2023-04-16JavaScript260