function Bird(name) { this.name = name; } let duck = new Bird("Donald"); Bird.prototype.isPrototypeOf(duck); // returns true.
確定! 回上一頁