2016-10-13 00:16:48 点击量:18 标签: 收藏本文
看例子
- var xml:XML =<s/>;
- trace(xml.ddd);//空串
- trace(typeof(xml.ddd));//xml
- trace(xml.ddd.toString());//空串
- trace(xml.ddd.toXMLString());//空串
- trace(xml.ddd.length());//0
足以证明,xml是个特殊的object
- var xml:Object = {};
- trace(xml.ddd);//Cuplayer.com提示:undefined
- trace(typeof(xml.ddd));//undefined
- trace(xml.ddd.toString());//Cuplayer.com提示:报错
- trace(xml.ddd.toXMLString());//报错
- trace(xml.ddd.length());//报错
回头看看这个帖子,感觉自己当初好傻,貌似是有了Proxy类以后就比较好解释这个问题了吧
我们是一家提供综合软件外包与弱电工程服务的技术公司。
业务涵盖定制软件、管理系统、网站、小程序、APP、系统集成、网络布线、监控安防、门禁、机房建设及长期技术维护。
公司地址:湖北省宜昌市伍家岗区东站二路6号三峡(宜昌)大数据产业园海洋馆二楼A203室