关于对象引用的作用域
摘要:
var cat ={};cat.mouse = function(){var b="1111"};var dog = cat;console.log(dog);console.log(dog.mouse);dog.mouse = function(){var b="2222"};dog.hat="... 阅读全文
posted @ 2014-05-23 19:25 dhj 阅读(948) 评论(0) 推荐(0) 编辑