摘要:
1、判断一个字符串中出现次数最多的字符,统计这个次数var str = "ababccddabbb"; var obj = {}; for (var i = 0; i 255) { bytes++; } } return bytes;}console.log(getBytes("您好,hello"));4、assert判断类型var assert = { isBoolean: function (G) { return (typeof G === "boolean"); }, isNumber: function... 阅读全文
posted @ 2012-05-25 01:26 匆匆 阅读(316) 评论(0) 推荐(1) 编辑