得于斯者毁于斯
alert(hasPrototypeProperty(person,"name")); //false 来自原型 person1.name="mywei"; alert(hasPrototypeProperty(person,"name")); //true 来自实例
Powered by: 博客园 Copyright © 2024 刀妃 Powered by .NET 8.0 on Kubernetes