![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
javascirpt
sambeanyu
这个作者很懒,什么都没留下…
展开
-
json对象测试
一测试json对象1.待测试的json[code="java"] var json = {"字符串":"字符串", "日期对象":new Date(), "内嵌json":{"innerJson":"嵌套json"}};[/code]2.使用 "."号取值[code=&quo原创 2010-11-27 16:13:41 · 108 阅读 · 0 评论 -
function 对象测试
1.测试的function对象[code="java"]function jsObj(){ this.name =""; this.sex =""; this.age=0; this.father = new person(); this.json = {}; this.array = ['1','2']; this.nullValue; t...原创 2010-11-27 17:01:42 · 226 阅读 · 0 评论