如何用JS动态创建一个function并且能够执行不能吧,只能给function加属性或者弄面向对象var Dog = function (name, age) {this.name = namethis.age = agethis.say = function () {console.l2023-04-11JavaScript170