🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
``` class Person{ constructor(age,name){ this.age = age; this.name = name } } var a = new Person("18","ding") function Person1(age,name){ this.age = age; this.name = name } var b = new Person1(18,"ding") console.log(a,b) ```