JS 中的类建立在原型上,但也具有某些语法和语义未与ES5类相似语义共享。 ... var d = new Dog('Mitzie'); d.speak();//Mitzie makes a noise.
確定! 回上一頁