下段代码打印结果为()constPerson=(name="wang",a...
发布于 2022-03-03 16:27:05
下段代码打印结果为()
const Person = (name="wang",age=10) => {
this.name = name
this.age = age
return this.name +' is '+ this.age + 'years old'
}
let result = new Person('zhang',11)
console.log(result)
登录后免费查看答案
关注者
0
被浏览
19