摘要:
添加到String.prototype中的方法比较多,不过归结起来,大致分为下面几类:分类方法名原始能力增强 strip| include |startsWith |endsWith| empty| blank格式camelize | capitalize| underscore| dasherize |inspect 变形toArray| succ |times替换interpolate |sub| scan| truncate | gsubHTML处理stripTags |escapeHTML| unescapeHTML参数序列化toQueryParamsJSON处理u... 阅读全文
posted @ 2012-01-10 12:50
西山
阅读(1119)
评论(0)
推荐(0)

浙公网安备 33010602011771号