![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
javascript
fx050622
这个作者很懒,什么都没留下…
展开
-
javascript 继承
[code="javascript"]function inheritPrototype(subType, superType){var prototype = object(superType.prototype); //create objectprototype.constructor = subType; //augment objectsubType.prototype ...原创 2012-01-30 14:57:08 · 63 阅读 · 0 评论 -
扫雷-打发时间
[code="html"]Insert title here#container { width: 670px; height: 670px; background-color: #eeffee; margin: 100px auto;}.block { width: 20px; height: 20px; background-...原创 2012-02-13 11:02:23 · 122 阅读 · 0 评论 -
数字加逗号
(amount.replace(/(\d)(?=(\d\d\d)+(?!\d))/g, "$1,"));原创 2012-12-28 17:34:50 · 205 阅读 · 0 评论