2016年5月16日

JS对象转字符串保留方法,字符串转对象

摘要: var obj = { name:"zhangsan", age:20, say:function(name){ console.log("My name is " + (name ? name : this.name)); }, hello:f... 阅读全文

posted @ 2016-05-16 15:28 lweiruil 阅读(2036) 评论(0) 推荐(0)

导航