这篇文章主要给大家分享JS创建对象的四种方式,分别是字面量的方式去创建对象、使用new ... per1.say(); console.log(per1 instanceof Person);//true.
確定! 回上一頁