摘要:
var keleyijson={"plug1":"myslider","plug2":"zonemenu","plug3":"keleyi"} function JSONLength(obj) { var size = 0; var key; for ... 阅读全文
摘要:
1. concat(); 可以把多个参数到指定字符串的尾部var a="Hello"; var b="World"; console.log(a.concat(b)); // HelloWorld2. charAt(); charCodeAt(); charAt(); 用于返回字符串中第N个字符... 阅读全文
摘要:
1. 字符串转换为数组 split();console.log("aabbcc".split(""));打印:["a", "a", "b", "b", "c", "c"]2. 数组转换为字符串 join();console.log(['aa','bb','vv'].join(""));打印:aabb... 阅读全文